mirror of
https://github.com/codex-team/editor.js
synced 2024-06-10 09:52:36 +02:00
24 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Peter Savchenko |
1320b047a2
|
feat(merge): blocks of different types can be merged (#2671)
* feature: possibilities to merge blocks of different types * fix: remove scope change * feat: use convert config instead of defined property * chore:: use built-in function for type check * fix: remove console.log * chore: remove styling added by mistakes * test: add testing for different blocks types merging * fix: remove unused import * fix: remove type argument * fix: use existing functions for data export * chore: update changelog * fix: re put await * fix: remove unnecessary check * fix: typo in test name * fix: re-add condition for merge * test: add caret position test * fix caret issues, add sanitize * make if-else statement more clear * upgrade cypress * Update cypress.yml * upd cypress to 13 * make sanitize test simpler * patch rc version --------- Co-authored-by: GuillaumeOnepilot <guillaume@onepilot.co> Co-authored-by: Guillaume Leon <97881811+GuillaumeOnepilot@users.noreply.github.com> |
||
Peter Savchenko |
11925ca980
|
fix(caret): caret loosing on mobile devices (#2570)
* fix(caret): caret loosing on mobile devices * rm unused import |
||
Peter Savchenko |
cd29c52e51
|
feat(ui): native-like tab behaviour, slash for toolbox (#2569)
* slash to open toolbox, tab for navigation * tab, focus improvements - remove "focused" block state - tab navigation respects inputs - allow to focus contentless blocks * fix tests * tests for Slash * tab tests * test for tabbing out of editor * tests fixed * review fixes |
||
Peter Savchenko |
ec569f9981
|
fix(toolbar): layout shrink after blocks removing (#2484) | ||
Peter Savchenko |
b39996616c
|
chore(perf): initialisation and rendering performance optimisations (#2430)
* renderer batching * initialization and rendering performance optimized * insertMany api method added * Update index.html * rm old method * upd changelog * upd paragraph * paste tests fixed * api blocks tests fixed * backspace event tests fixed * async issues in tests fixed * eslint * stub block added, tests added * eslint * eslint * add test for insertMany() * Update package.json |
||
Peter Savchenko |
3272efc3f7
|
chore(linting): eslint updated, code linted (#2174)
* update eslint + autofix * a bunch of eslint fixes * some spelling & eslint fixes * fix some eslint errors and spells * Update __module.ts * a bunch of eslint fixes in tests * Update cypress.yml * Update cypress.yml * fix cypress docker image name * fixes for tests * more tests fixed * rm rule ignore * rm another ignored rule * Update .eslintrc |
||
Tomoyuki Hata |
9cdda110da
|
Refactoring based on LGTM (#1635)
* Refactoring based on LGTM * Fixed jsdoc/no-undefined-types Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com> |
||
Umang G. Patel |
63e438a72d
|
refactoring(modules): Tooltip module is util now (#1601)
* remove tooltip module and create tooltip class * change log added * constructor added with tooltip * linting added * js-docs improved * linting added |
||
George Berezhnoy |
4cfcb656a8
|
[Refactoring] Tools (#1595)
* Add internal wrappers for tools classes * FIx lint * Change tools collections to map * Apply some more refactoring * Make tool instance private field * Add some docs * Fix eslint * Review changes * Fix * Fixes after review * Readonly fix |
||
Tomoyuki Hata |
4c7cad1b41
|
Remove force options in Caret.navigateNext() and Caret.navigatePrevious() (#1525)
Co-authored-by: Peter Savchenko <specc.dev@gmail.com> |
||
Peter Savchenko |
e319e04350
|
fix(caret): right-arrow on last non-default block (#1416)
* fix(caret): last non-default block navigation won't craete a new block untill reaching the end * reuse variable |
||
Peter Savchenko |
29db87525b
|
Release: 2.19 (#1364)
* typo fixed (#1235)
* Improvements: more translations added to the i18n example (#1250)
* Return the result of block.call (#1205)
* [Improvements] ESLint action (#1099)
* TSLint -> ESLint, GitHub Action
* Update eslint.yml
* Autofix
* more autofix
* fix
* manually fix some issues
* Update CHANGELOG.md
* [Refactor] ESLint fixed (#1100)
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* [Feature] i18n (#1106)
* i18n first steps
* i18n internal, toolbox, api for tools
* namespaced api
* tn, t
* tn in block tunes
* join toolbox and inlineTools under toolNames
* translations
* make enum toolTypes
* Update block.ts
* Update src/components/core.ts
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* add more types
* rm tn
* export i18n types
* upd bundle
* fix tabulation
* Add type-safe namespaces
* upd
* Improve example
* Update toolbox.ts
* improve examplle
* upd
* fix typo
* Add comments for complex types
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
* Remove unused submodule
* Fixed: icon centering in Firefox
* Do not load styles twice (#1112)
* Do not load styles twice
* Add changelog
* Fix issue link
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Show warning if Block to delete is not found (#1111)
Resolves #1102
* Save Tools' order in the Toolbox (#1113)
Resolves #1073
* fix $.isEmpty performance (#1096)
* fix $.isEmpty performance
* add changelog
* upd bundle
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Add issue templates (#1114)
* Update issue templates (#1121)
* Update issue templates
* Apply suggestions from code review
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* upd texts
* Update feature_request.md
* Update .github/ISSUE_TEMPLATE/discussion.md
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
* Allowing deleting block by block id (#1108)
* Allowing deleting block by block id
* Fixed no argument error
* Making index value optional for delete operation
* Added to changelog
* Making index value optional for delete operation
* Added parameter description
* Update docs/CHANGELOG.md
* Update types/api/blocks.d.ts
* Update editor.js
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Allow navigate next from last non-initial block (#1110)
Resolves #1103
* Create CODE_OF_CONDUCT.md (#1171)
* Create CODE_OF_CONDUCT.md
* Update changelog file
* Update dependencies (#1122)
* Update dependencies
* upd codex.tooltip
* Update editor.js.LICENSE.txt
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Feature/disable tab event config (#1164)
* Highlight first block on autofocus (#1127)
* Fix shortcut for external tools (#1141)
* fix/shortcut-for-external-tools
* Check inline tools property for shortcut
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* Hotfix/issue1133 selection shortcut removed on editor destroy (#1140)
* Removed shortcut CMD+A on editor destroy #1133
* Removed patch version and made code cleaner #1133
* lint error fixes #1133
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* [Feature] BlockAPI Interface (#1075)
* Fix BlockManager.insert method (#1172)
* Fix BlockManager.insert method
* upd
* Explicitly check for undefined
* Update tools master branches (#1180)
* Update master branches
* Update image
* Update CHANGELOG.md
* Fix behaviour of inputs editing in block settings (#1123)
* lint code
* Update CHANGELOG.md
* Return the result of block.call
This change allows blocks to return the result of `call` methods, thus allowing them to expose arbitrary data as needed.
My particular use case is I am using Vue to mount components inside of the larger editorjs framework. One of the components that we are developing can be thought of as a nested agenda, where labels need to be in an order like:
```
I. Top level
a. second level
i. third level
```
My plan is to have an orchestrator query all blocks, filter those that need labels prepended, and then programmatically tell each block (with another `call` method) to set its depth to the desired level. At that point, Vue can reactively update any labels, etc. that are needed.
I believe this change will allow for other such uses, and I imagine it should not break any existing code since it was returning `null` before.
* Disable ESLint for call method return value
Because we are returning the value of an arbitrary function, the return value can be anything (hence, the return type must be `any`). However, to reduce noise in ESLint output, we disable ESLint checking the line with the `any` type return.
* Change any type to unknown and add to CHANGELOG.md
Change any type of the call method to unknown but eslint shows error
saying the unknown type is undefined, Also, add the chnage to
CHANGELOG.md as an improvement with the link to the PR itself as no
issue was assigned with it.
* Add unknown to eslint globals
* upd
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
Co-authored-by: tasuku-s <tasuku@freemind.co.jp>
Co-authored-by: Athul Anil Kumar <athul7744@outlook.com>
Co-authored-by: Taly <vitalik7tv@yandex.ru>
Co-authored-by: flaming-cl <51183663+flaming-cl@users.noreply.github.com>
Co-authored-by: Nguyen Ngoc Son <sonnn.se@gmail.com>
Co-authored-by: Sisir Das K <37764463+sis-dk@users.noreply.github.com>
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: ranemihir <mihirrane171@gmail.com>
* <fix> toolbar--opened overlap with certain text [issue 1196] (#1201)
* [Improvements] ESLint action (#1099)
* TSLint -> ESLint, GitHub Action
* Update eslint.yml
* Autofix
* more autofix
* fix
* manually fix some issues
* Update CHANGELOG.md
* [Refactor] ESLint fixed (#1100)
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* [Feature] i18n (#1106)
* i18n first steps
* i18n internal, toolbox, api for tools
* namespaced api
* tn, t
* tn in block tunes
* join toolbox and inlineTools under toolNames
* translations
* make enum toolTypes
* Update block.ts
* Update src/components/core.ts
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* add more types
* rm tn
* export i18n types
* upd bundle
* fix tabulation
* Add type-safe namespaces
* upd
* Improve example
* Update toolbox.ts
* improve examplle
* upd
* fix typo
* Add comments for complex types
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
* Remove unused submodule
* Fixed: icon centering in Firefox
* Do not load styles twice (#1112)
* Do not load styles twice
* Add changelog
* Fix issue link
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Show warning if Block to delete is not found (#1111)
Resolves #1102
* Save Tools' order in the Toolbox (#1113)
Resolves #1073
* fix $.isEmpty performance (#1096)
* fix $.isEmpty performance
* add changelog
* upd bundle
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Add issue templates (#1114)
* Update issue templates (#1121)
* Update issue templates
* Apply suggestions from code review
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* upd texts
* Update feature_request.md
* Update .github/ISSUE_TEMPLATE/discussion.md
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
* Allowing deleting block by block id (#1108)
* Allowing deleting block by block id
* Fixed no argument error
* Making index value optional for delete operation
* Added to changelog
* Making index value optional for delete operation
* Added parameter description
* Update docs/CHANGELOG.md
* Update types/api/blocks.d.ts
* Update editor.js
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Allow navigate next from last non-initial block (#1110)
Resolves #1103
* Create CODE_OF_CONDUCT.md (#1171)
* Create CODE_OF_CONDUCT.md
* Update changelog file
* Update dependencies (#1122)
* Update dependencies
* upd codex.tooltip
* Update editor.js.LICENSE.txt
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Feature/disable tab event config (#1164)
* Highlight first block on autofocus (#1127)
* Fix shortcut for external tools (#1141)
* fix/shortcut-for-external-tools
* Check inline tools property for shortcut
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* Hotfix/issue1133 selection shortcut removed on editor destroy (#1140)
* Removed shortcut CMD+A on editor destroy #1133
* Removed patch version and made code cleaner #1133
* lint error fixes #1133
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* [Feature] BlockAPI Interface (#1075)
* Fix BlockManager.insert method (#1172)
* Fix BlockManager.insert method
* upd
* Explicitly check for undefined
* Update tools master branches (#1180)
* Update master branches
* Update image
* Update CHANGELOG.md
* Fix behaviour of inputs editing in block settings (#1123)
* lint code
* Update CHANGELOG.md
* <fix> toolbar overlap with text
* Add Fix in CHANGELOG.md
* Update editor.js
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
Co-authored-by: tasuku-s <tasuku@freemind.co.jp>
Co-authored-by: Athul Anil Kumar <athul7744@outlook.com>
Co-authored-by: Taly <vitalik7tv@yandex.ru>
Co-authored-by: Nguyen Ngoc Son <sonnn.se@gmail.com>
Co-authored-by: Sisir Das K <37764463+sis-dk@users.noreply.github.com>
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: ranemihir <mihirrane171@gmail.com>
* Rename initialBlock to defaultBlock (#1209)
* [Improvements] ESLint action (#1099)
* TSLint -> ESLint, GitHub Action
* Update eslint.yml
* Autofix
* more autofix
* fix
* manually fix some issues
* Update CHANGELOG.md
* [Refactor] ESLint fixed (#1100)
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* [Feature] i18n (#1106)
* i18n first steps
* i18n internal, toolbox, api for tools
* namespaced api
* tn, t
* tn in block tunes
* join toolbox and inlineTools under toolNames
* translations
* make enum toolTypes
* Update block.ts
* Update src/components/core.ts
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* add more types
* rm tn
* export i18n types
* upd bundle
* fix tabulation
* Add type-safe namespaces
* upd
* Improve example
* Update toolbox.ts
* improve examplle
* upd
* fix typo
* Add comments for complex types
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
* Remove unused submodule
* Fixed: icon centering in Firefox
* Do not load styles twice (#1112)
* Do not load styles twice
* Add changelog
* Fix issue link
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Show warning if Block to delete is not found (#1111)
Resolves #1102
* Save Tools' order in the Toolbox (#1113)
Resolves #1073
* fix $.isEmpty performance (#1096)
* fix $.isEmpty performance
* add changelog
* upd bundle
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Add issue templates (#1114)
* Update issue templates (#1121)
* Update issue templates
* Apply suggestions from code review
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* upd texts
* Update feature_request.md
* Update .github/ISSUE_TEMPLATE/discussion.md
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
* Allowing deleting block by block id (#1108)
* Allowing deleting block by block id
* Fixed no argument error
* Making index value optional for delete operation
* Added to changelog
* Making index value optional for delete operation
* Added parameter description
* Update docs/CHANGELOG.md
* Update types/api/blocks.d.ts
* Update editor.js
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Allow navigate next from last non-initial block (#1110)
Resolves #1103
* Create CODE_OF_CONDUCT.md (#1171)
* Create CODE_OF_CONDUCT.md
* Update changelog file
* Update dependencies (#1122)
* Update dependencies
* upd codex.tooltip
* Update editor.js.LICENSE.txt
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Feature/disable tab event config (#1164)
* Highlight first block on autofocus (#1127)
* Fix shortcut for external tools (#1141)
* fix/shortcut-for-external-tools
* Check inline tools property for shortcut
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* Hotfix/issue1133 selection shortcut removed on editor destroy (#1140)
* Removed shortcut CMD+A on editor destroy #1133
* Removed patch version and made code cleaner #1133
* lint error fixes #1133
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* [Feature] BlockAPI Interface (#1075)
* Fix BlockManager.insert method (#1172)
* Fix BlockManager.insert method
* upd
* Explicitly check for undefined
* Update tools master branches (#1180)
* Update master branches
* Update image
* Update CHANGELOG.md
* Fix behaviour of inputs editing in block settings (#1123)
* lint code
* Update CHANGELOG.md
* Rename initialBlock to defaultBlock
Closes #993
The initialBlock property is renamed to defaultBlock.
* Change keyword 'InitialBlock' to 'DefaultBlock' in all methods
Fixes #993
All the methods using the keyword 'Initial' or 'initial' for initial block
are replace with 'Default' or 'default'.
For example, the Tools.isIntitial() method is changed to Tools.isDefault().
* Keep initialBlock and defaultBlock both.
initialBlock property is still kept but it will deprecated in the
next major release.
* Change defaultBlock in example.html and rebuild.
* Remove package-lock.json file.
* Update docs/tools.md
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update example/example-dev.html
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update example/example.html
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update example/example-dev.html
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update example/example.html
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update src/components/utils.ts
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update src/components/utils.ts
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update types/configs/editor-config.d.ts
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update types/configs/editor-config.d.ts
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update src/components/utils.ts
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Fix needAddDefaultBlock to needToAddDefaultBlock
* Add as an Improvement to CHANGELOG.md
* Delete editor.js.map
* fix log, rename some more places
* Update example.html
* Update blockManager.ts
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
Co-authored-by: tasuku-s <tasuku@freemind.co.jp>
Co-authored-by: Athul Anil Kumar <athul7744@outlook.com>
Co-authored-by: Taly <vitalik7tv@yandex.ru>
Co-authored-by: flaming-cl <51183663+flaming-cl@users.noreply.github.com>
Co-authored-by: Nguyen Ngoc Son <sonnn.se@gmail.com>
Co-authored-by: Sisir Das K <37764463+sis-dk@users.noreply.github.com>
Co-authored-by: Sisir <sisir@hellosivi.com>
* Fix blocks.delete with undefined index (#1182) (#1218)
* [Improvements] ESLint action (#1099)
* TSLint -> ESLint, GitHub Action
* Update eslint.yml
* Autofix
* more autofix
* fix
* manually fix some issues
* Update CHANGELOG.md
* [Refactor] ESLint fixed (#1100)
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* [Feature] i18n (#1106)
* i18n first steps
* i18n internal, toolbox, api for tools
* namespaced api
* tn, t
* tn in block tunes
* join toolbox and inlineTools under toolNames
* translations
* make enum toolTypes
* Update block.ts
* Update src/components/core.ts
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* add more types
* rm tn
* export i18n types
* upd bundle
* fix tabulation
* Add type-safe namespaces
* upd
* Improve example
* Update toolbox.ts
* improve examplle
* upd
* fix typo
* Add comments for complex types
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
* Remove unused submodule
* Fixed: icon centering in Firefox
* Do not load styles twice (#1112)
* Do not load styles twice
* Add changelog
* Fix issue link
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Show warning if Block to delete is not found (#1111)
Resolves #1102
* Save Tools' order in the Toolbox (#1113)
Resolves #1073
* fix $.isEmpty performance (#1096)
* fix $.isEmpty performance
* add changelog
* upd bundle
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Add issue templates (#1114)
* Update issue templates (#1121)
* Update issue templates
* Apply suggestions from code review
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* upd texts
* Update feature_request.md
* Update .github/ISSUE_TEMPLATE/discussion.md
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
* Allowing deleting block by block id (#1108)
* Allowing deleting block by block id
* Fixed no argument error
* Making index value optional for delete operation
* Added to changelog
* Making index value optional for delete operation
* Added parameter description
* Update docs/CHANGELOG.md
* Update types/api/blocks.d.ts
* Update editor.js
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Allow navigate next from last non-initial block (#1110)
Resolves #1103
* Create CODE_OF_CONDUCT.md (#1171)
* Create CODE_OF_CONDUCT.md
* Update changelog file
* Update dependencies (#1122)
* Update dependencies
* upd codex.tooltip
* Update editor.js.LICENSE.txt
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Feature/disable tab event config (#1164)
* Highlight first block on autofocus (#1127)
* Fix shortcut for external tools (#1141)
* fix/shortcut-for-external-tools
* Check inline tools property for shortcut
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* Hotfix/issue1133 selection shortcut removed on editor destroy (#1140)
* Removed shortcut CMD+A on editor destroy #1133
* Removed patch version and made code cleaner #1133
* lint error fixes #1133
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* [Feature] BlockAPI Interface (#1075)
* Fix BlockManager.insert method (#1172)
* Fix BlockManager.insert method
* upd
* Explicitly check for undefined
* Update tools master branches (#1180)
* Update master branches
* Update image
* Update CHANGELOG.md
* Fix behaviour of inputs editing in block settings (#1123)
* lint code
* Update CHANGELOG.md
* fix: blocks.delete with undefined index (#1182)
* Add as a Fix in CHANGELOG.md.
* Update editor.js
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
Co-authored-by: tasuku-s <tasuku@freemind.co.jp>
Co-authored-by: Athul Anil Kumar <athul7744@outlook.com>
Co-authored-by: Taly <vitalik7tv@yandex.ru>
Co-authored-by: flaming-cl <51183663+flaming-cl@users.noreply.github.com>
Co-authored-by: Nguyen Ngoc Son <sonnn.se@gmail.com>
Co-authored-by: Sisir Das K <37764463+sis-dk@users.noreply.github.com>
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: ranemihir <mihirrane171@gmail.com>
* Fix spam clicking the tune button in Firefox (#1285)
* Fix spam cliclikng tune in Firefox #1273
* build
* Disabled unwanted I18n messages (#1282)
* The unwanted I18n messages from console is disabled
* Update docs/CHANGELOG.md
Improved Change log
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Remove import statement
import * as _ from '../utils';
removed
* Apply suggestions from code review
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Move SavedData and ValidatedData interfaces from internal types (#1251)
* Move SavedData and ValidatedData interfaces from internal types
* Add changelog
* Upd submodules (#1287)
* upd modules
* Revert "upd modules"
This reverts commit
|
||
George Berezhnoy |
b223d63c59
|
Revert "Release: 2.19 (#1341)" (#1363)
This reverts commit
|
||
Peter Savchenko |
78775703c9
|
Release: 2.19 (#1341)
* typo fixed (#1235)
* Improvements: more translations added to the i18n example (#1250)
* Return the result of block.call (#1205)
* [Improvements] ESLint action (#1099)
* TSLint -> ESLint, GitHub Action
* Update eslint.yml
* Autofix
* more autofix
* fix
* manually fix some issues
* Update CHANGELOG.md
* [Refactor] ESLint fixed (#1100)
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* [Feature] i18n (#1106)
* i18n first steps
* i18n internal, toolbox, api for tools
* namespaced api
* tn, t
* tn in block tunes
* join toolbox and inlineTools under toolNames
* translations
* make enum toolTypes
* Update block.ts
* Update src/components/core.ts
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* add more types
* rm tn
* export i18n types
* upd bundle
* fix tabulation
* Add type-safe namespaces
* upd
* Improve example
* Update toolbox.ts
* improve examplle
* upd
* fix typo
* Add comments for complex types
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
* Remove unused submodule
* Fixed: icon centering in Firefox
* Do not load styles twice (#1112)
* Do not load styles twice
* Add changelog
* Fix issue link
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Show warning if Block to delete is not found (#1111)
Resolves #1102
* Save Tools' order in the Toolbox (#1113)
Resolves #1073
* fix $.isEmpty performance (#1096)
* fix $.isEmpty performance
* add changelog
* upd bundle
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Add issue templates (#1114)
* Update issue templates (#1121)
* Update issue templates
* Apply suggestions from code review
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* upd texts
* Update feature_request.md
* Update .github/ISSUE_TEMPLATE/discussion.md
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
* Allowing deleting block by block id (#1108)
* Allowing deleting block by block id
* Fixed no argument error
* Making index value optional for delete operation
* Added to changelog
* Making index value optional for delete operation
* Added parameter description
* Update docs/CHANGELOG.md
* Update types/api/blocks.d.ts
* Update editor.js
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Allow navigate next from last non-initial block (#1110)
Resolves #1103
* Create CODE_OF_CONDUCT.md (#1171)
* Create CODE_OF_CONDUCT.md
* Update changelog file
* Update dependencies (#1122)
* Update dependencies
* upd codex.tooltip
* Update editor.js.LICENSE.txt
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Feature/disable tab event config (#1164)
* Highlight first block on autofocus (#1127)
* Fix shortcut for external tools (#1141)
* fix/shortcut-for-external-tools
* Check inline tools property for shortcut
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* Hotfix/issue1133 selection shortcut removed on editor destroy (#1140)
* Removed shortcut CMD+A on editor destroy #1133
* Removed patch version and made code cleaner #1133
* lint error fixes #1133
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* [Feature] BlockAPI Interface (#1075)
* Fix BlockManager.insert method (#1172)
* Fix BlockManager.insert method
* upd
* Explicitly check for undefined
* Update tools master branches (#1180)
* Update master branches
* Update image
* Update CHANGELOG.md
* Fix behaviour of inputs editing in block settings (#1123)
* lint code
* Update CHANGELOG.md
* Return the result of block.call
This change allows blocks to return the result of `call` methods, thus allowing them to expose arbitrary data as needed.
My particular use case is I am using Vue to mount components inside of the larger editorjs framework. One of the components that we are developing can be thought of as a nested agenda, where labels need to be in an order like:
```
I. Top level
a. second level
i. third level
```
My plan is to have an orchestrator query all blocks, filter those that need labels prepended, and then programmatically tell each block (with another `call` method) to set its depth to the desired level. At that point, Vue can reactively update any labels, etc. that are needed.
I believe this change will allow for other such uses, and I imagine it should not break any existing code since it was returning `null` before.
* Disable ESLint for call method return value
Because we are returning the value of an arbitrary function, the return value can be anything (hence, the return type must be `any`). However, to reduce noise in ESLint output, we disable ESLint checking the line with the `any` type return.
* Change any type to unknown and add to CHANGELOG.md
Change any type of the call method to unknown but eslint shows error
saying the unknown type is undefined, Also, add the chnage to
CHANGELOG.md as an improvement with the link to the PR itself as no
issue was assigned with it.
* Add unknown to eslint globals
* upd
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
Co-authored-by: tasuku-s <tasuku@freemind.co.jp>
Co-authored-by: Athul Anil Kumar <athul7744@outlook.com>
Co-authored-by: Taly <vitalik7tv@yandex.ru>
Co-authored-by: flaming-cl <51183663+flaming-cl@users.noreply.github.com>
Co-authored-by: Nguyen Ngoc Son <sonnn.se@gmail.com>
Co-authored-by: Sisir Das K <37764463+sis-dk@users.noreply.github.com>
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: ranemihir <mihirrane171@gmail.com>
* <fix> toolbar--opened overlap with certain text [issue 1196] (#1201)
* [Improvements] ESLint action (#1099)
* TSLint -> ESLint, GitHub Action
* Update eslint.yml
* Autofix
* more autofix
* fix
* manually fix some issues
* Update CHANGELOG.md
* [Refactor] ESLint fixed (#1100)
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* [Feature] i18n (#1106)
* i18n first steps
* i18n internal, toolbox, api for tools
* namespaced api
* tn, t
* tn in block tunes
* join toolbox and inlineTools under toolNames
* translations
* make enum toolTypes
* Update block.ts
* Update src/components/core.ts
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* add more types
* rm tn
* export i18n types
* upd bundle
* fix tabulation
* Add type-safe namespaces
* upd
* Improve example
* Update toolbox.ts
* improve examplle
* upd
* fix typo
* Add comments for complex types
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
* Remove unused submodule
* Fixed: icon centering in Firefox
* Do not load styles twice (#1112)
* Do not load styles twice
* Add changelog
* Fix issue link
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Show warning if Block to delete is not found (#1111)
Resolves #1102
* Save Tools' order in the Toolbox (#1113)
Resolves #1073
* fix $.isEmpty performance (#1096)
* fix $.isEmpty performance
* add changelog
* upd bundle
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Add issue templates (#1114)
* Update issue templates (#1121)
* Update issue templates
* Apply suggestions from code review
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* upd texts
* Update feature_request.md
* Update .github/ISSUE_TEMPLATE/discussion.md
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
* Allowing deleting block by block id (#1108)
* Allowing deleting block by block id
* Fixed no argument error
* Making index value optional for delete operation
* Added to changelog
* Making index value optional for delete operation
* Added parameter description
* Update docs/CHANGELOG.md
* Update types/api/blocks.d.ts
* Update editor.js
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Allow navigate next from last non-initial block (#1110)
Resolves #1103
* Create CODE_OF_CONDUCT.md (#1171)
* Create CODE_OF_CONDUCT.md
* Update changelog file
* Update dependencies (#1122)
* Update dependencies
* upd codex.tooltip
* Update editor.js.LICENSE.txt
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Feature/disable tab event config (#1164)
* Highlight first block on autofocus (#1127)
* Fix shortcut for external tools (#1141)
* fix/shortcut-for-external-tools
* Check inline tools property for shortcut
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* Hotfix/issue1133 selection shortcut removed on editor destroy (#1140)
* Removed shortcut CMD+A on editor destroy #1133
* Removed patch version and made code cleaner #1133
* lint error fixes #1133
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* [Feature] BlockAPI Interface (#1075)
* Fix BlockManager.insert method (#1172)
* Fix BlockManager.insert method
* upd
* Explicitly check for undefined
* Update tools master branches (#1180)
* Update master branches
* Update image
* Update CHANGELOG.md
* Fix behaviour of inputs editing in block settings (#1123)
* lint code
* Update CHANGELOG.md
* <fix> toolbar overlap with text
* Add Fix in CHANGELOG.md
* Update editor.js
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
Co-authored-by: tasuku-s <tasuku@freemind.co.jp>
Co-authored-by: Athul Anil Kumar <athul7744@outlook.com>
Co-authored-by: Taly <vitalik7tv@yandex.ru>
Co-authored-by: Nguyen Ngoc Son <sonnn.se@gmail.com>
Co-authored-by: Sisir Das K <37764463+sis-dk@users.noreply.github.com>
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: ranemihir <mihirrane171@gmail.com>
* Rename initialBlock to defaultBlock (#1209)
* [Improvements] ESLint action (#1099)
* TSLint -> ESLint, GitHub Action
* Update eslint.yml
* Autofix
* more autofix
* fix
* manually fix some issues
* Update CHANGELOG.md
* [Refactor] ESLint fixed (#1100)
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* [Feature] i18n (#1106)
* i18n first steps
* i18n internal, toolbox, api for tools
* namespaced api
* tn, t
* tn in block tunes
* join toolbox and inlineTools under toolNames
* translations
* make enum toolTypes
* Update block.ts
* Update src/components/core.ts
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* add more types
* rm tn
* export i18n types
* upd bundle
* fix tabulation
* Add type-safe namespaces
* upd
* Improve example
* Update toolbox.ts
* improve examplle
* upd
* fix typo
* Add comments for complex types
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
* Remove unused submodule
* Fixed: icon centering in Firefox
* Do not load styles twice (#1112)
* Do not load styles twice
* Add changelog
* Fix issue link
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Show warning if Block to delete is not found (#1111)
Resolves #1102
* Save Tools' order in the Toolbox (#1113)
Resolves #1073
* fix $.isEmpty performance (#1096)
* fix $.isEmpty performance
* add changelog
* upd bundle
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Add issue templates (#1114)
* Update issue templates (#1121)
* Update issue templates
* Apply suggestions from code review
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* upd texts
* Update feature_request.md
* Update .github/ISSUE_TEMPLATE/discussion.md
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
* Allowing deleting block by block id (#1108)
* Allowing deleting block by block id
* Fixed no argument error
* Making index value optional for delete operation
* Added to changelog
* Making index value optional for delete operation
* Added parameter description
* Update docs/CHANGELOG.md
* Update types/api/blocks.d.ts
* Update editor.js
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Allow navigate next from last non-initial block (#1110)
Resolves #1103
* Create CODE_OF_CONDUCT.md (#1171)
* Create CODE_OF_CONDUCT.md
* Update changelog file
* Update dependencies (#1122)
* Update dependencies
* upd codex.tooltip
* Update editor.js.LICENSE.txt
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Feature/disable tab event config (#1164)
* Highlight first block on autofocus (#1127)
* Fix shortcut for external tools (#1141)
* fix/shortcut-for-external-tools
* Check inline tools property for shortcut
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* Hotfix/issue1133 selection shortcut removed on editor destroy (#1140)
* Removed shortcut CMD+A on editor destroy #1133
* Removed patch version and made code cleaner #1133
* lint error fixes #1133
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* [Feature] BlockAPI Interface (#1075)
* Fix BlockManager.insert method (#1172)
* Fix BlockManager.insert method
* upd
* Explicitly check for undefined
* Update tools master branches (#1180)
* Update master branches
* Update image
* Update CHANGELOG.md
* Fix behaviour of inputs editing in block settings (#1123)
* lint code
* Update CHANGELOG.md
* Rename initialBlock to defaultBlock
Closes #993
The initialBlock property is renamed to defaultBlock.
* Change keyword 'InitialBlock' to 'DefaultBlock' in all methods
Fixes #993
All the methods using the keyword 'Initial' or 'initial' for initial block
are replace with 'Default' or 'default'.
For example, the Tools.isIntitial() method is changed to Tools.isDefault().
* Keep initialBlock and defaultBlock both.
initialBlock property is still kept but it will deprecated in the
next major release.
* Change defaultBlock in example.html and rebuild.
* Remove package-lock.json file.
* Update docs/tools.md
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update example/example-dev.html
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update example/example.html
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update example/example-dev.html
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update example/example.html
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update src/components/utils.ts
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update src/components/utils.ts
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update types/configs/editor-config.d.ts
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update types/configs/editor-config.d.ts
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update src/components/utils.ts
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Fix needAddDefaultBlock to needToAddDefaultBlock
* Add as an Improvement to CHANGELOG.md
* Delete editor.js.map
* fix log, rename some more places
* Update example.html
* Update blockManager.ts
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
Co-authored-by: tasuku-s <tasuku@freemind.co.jp>
Co-authored-by: Athul Anil Kumar <athul7744@outlook.com>
Co-authored-by: Taly <vitalik7tv@yandex.ru>
Co-authored-by: flaming-cl <51183663+flaming-cl@users.noreply.github.com>
Co-authored-by: Nguyen Ngoc Son <sonnn.se@gmail.com>
Co-authored-by: Sisir Das K <37764463+sis-dk@users.noreply.github.com>
Co-authored-by: Sisir <sisir@hellosivi.com>
* Fix blocks.delete with undefined index (#1182) (#1218)
* [Improvements] ESLint action (#1099)
* TSLint -> ESLint, GitHub Action
* Update eslint.yml
* Autofix
* more autofix
* fix
* manually fix some issues
* Update CHANGELOG.md
* [Refactor] ESLint fixed (#1100)
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* [Feature] i18n (#1106)
* i18n first steps
* i18n internal, toolbox, api for tools
* namespaced api
* tn, t
* tn in block tunes
* join toolbox and inlineTools under toolNames
* translations
* make enum toolTypes
* Update block.ts
* Update src/components/core.ts
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* add more types
* rm tn
* export i18n types
* upd bundle
* fix tabulation
* Add type-safe namespaces
* upd
* Improve example
* Update toolbox.ts
* improve examplle
* upd
* fix typo
* Add comments for complex types
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
* Remove unused submodule
* Fixed: icon centering in Firefox
* Do not load styles twice (#1112)
* Do not load styles twice
* Add changelog
* Fix issue link
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Show warning if Block to delete is not found (#1111)
Resolves #1102
* Save Tools' order in the Toolbox (#1113)
Resolves #1073
* fix $.isEmpty performance (#1096)
* fix $.isEmpty performance
* add changelog
* upd bundle
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Add issue templates (#1114)
* Update issue templates (#1121)
* Update issue templates
* Apply suggestions from code review
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
* upd texts
* Update feature_request.md
* Update .github/ISSUE_TEMPLATE/discussion.md
Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
* Allowing deleting block by block id (#1108)
* Allowing deleting block by block id
* Fixed no argument error
* Making index value optional for delete operation
* Added to changelog
* Making index value optional for delete operation
* Added parameter description
* Update docs/CHANGELOG.md
* Update types/api/blocks.d.ts
* Update editor.js
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Allow navigate next from last non-initial block (#1110)
Resolves #1103
* Create CODE_OF_CONDUCT.md (#1171)
* Create CODE_OF_CONDUCT.md
* Update changelog file
* Update dependencies (#1122)
* Update dependencies
* upd codex.tooltip
* Update editor.js.LICENSE.txt
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Feature/disable tab event config (#1164)
* Highlight first block on autofocus (#1127)
* Fix shortcut for external tools (#1141)
* fix/shortcut-for-external-tools
* Check inline tools property for shortcut
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* Hotfix/issue1133 selection shortcut removed on editor destroy (#1140)
* Removed shortcut CMD+A on editor destroy #1133
* Removed patch version and made code cleaner #1133
* lint error fixes #1133
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* [Feature] BlockAPI Interface (#1075)
* Fix BlockManager.insert method (#1172)
* Fix BlockManager.insert method
* upd
* Explicitly check for undefined
* Update tools master branches (#1180)
* Update master branches
* Update image
* Update CHANGELOG.md
* Fix behaviour of inputs editing in block settings (#1123)
* lint code
* Update CHANGELOG.md
* fix: blocks.delete with undefined index (#1182)
* Add as a Fix in CHANGELOG.md.
* Update editor.js
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
Co-authored-by: tasuku-s <tasuku@freemind.co.jp>
Co-authored-by: Athul Anil Kumar <athul7744@outlook.com>
Co-authored-by: Taly <vitalik7tv@yandex.ru>
Co-authored-by: flaming-cl <51183663+flaming-cl@users.noreply.github.com>
Co-authored-by: Nguyen Ngoc Son <sonnn.se@gmail.com>
Co-authored-by: Sisir Das K <37764463+sis-dk@users.noreply.github.com>
Co-authored-by: Sisir <sisir@hellosivi.com>
Co-authored-by: ranemihir <mihirrane171@gmail.com>
* Fix spam clicking the tune button in Firefox (#1285)
* Fix spam cliclikng tune in Firefox #1273
* build
* Disabled unwanted I18n messages (#1282)
* The unwanted I18n messages from console is disabled
* Update docs/CHANGELOG.md
Improved Change log
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Remove import statement
import * as _ from '../utils';
removed
* Apply suggestions from code review
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Move SavedData and ValidatedData interfaces from internal types (#1251)
* Move SavedData and ValidatedData interfaces from internal types
* Add changelog
* Upd submodules (#1287)
* upd modules
* Revert "upd modules"
This reverts commit
|
||
Peter Savchenko |
63eeec0f3b
|
Release / 2.18 (#1181)
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com> Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com> Co-authored-by: tasuku-s <tasuku@freemind.co.jp> Co-authored-by: Athul Anil Kumar <athul7744@outlook.com> Co-authored-by: Taly <vitalik7tv@yandex.ru> Co-authored-by: flaming-cl <51183663+flaming-cl@users.noreply.github.com> Co-authored-by: Nguyen Ngoc Son <sonnn.se@gmail.com> Co-authored-by: Sisir Das K <37764463+sis-dk@users.noreply.github.com> Co-authored-by: Sisir <sisir@hellosivi.com> |
||
Peter Savchenko |
ac93017c70
|
Release 2.16 (#966)
* 2.16.0 * [Refactor] Separate internal and external settings (#845) * Enable flipping tools via standalone class (#830) * Enable flipping tools via standalone class * use flipper to refactor (#842) * use flipper to refactor * save changes * update * fix flipper on inline toolbar * ready for testing * requested changes * update doc * updates * destroy flippers * some requested changes * update * update * ready * update * last changes * update docs * Hghl active button of CT, simplify activate/deactivate * separate dom iterator * unhardcode directions * fixed a link in readme.md (#856) * Fix Block selection via CMD+A (#829) * Fix Block selection via CMD+A * Delete editor.js.map * update * update * Update CHANGELOG.md * Improve style of selected blocks (#858) * Cross-block-selection style improved * Update CHANGELOG.md * Fix case when property 'observer' in modificationObserver is not defined (#866) * Bump lodash.template from 4.4.0 to 4.5.0 (#885) Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0) Signed-off-by: dependabot[bot] <support@github.com> * Bump eslint-utils from 1.3.1 to 1.4.2 (#886) Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2. - [Release notes](https://github.com/mysticatea/eslint-utils/releases) - [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2) Signed-off-by: dependabot[bot] <support@github.com> * Bump mixin-deep from 1.3.1 to 1.3.2 (#887) Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2) Signed-off-by: dependabot[bot] <support@github.com> * update bundle and readme * Update README.md * upd codeowners, fix funding * Minor Docs Fix according to main Readme (#916) * Inline Toolbar now contains Conversion Toolbar (#932) * Block lifecycle hooks (#906) * [Fix] Arrow selection (#964) * Fix arrow selection * Add docs * [issue-926]: fix dom iterator leafing when items are empty (#958) * [issue-926]: fix dom iterator leafing when items are empty * update Changelog * Issue 869 (#963) * Fix issue 943 (#965) * [Draft] Feature/tooltip enhancements (#907) * initial * update * make module standalone * use tooltips as external module * update * build via prod mode * add tooltips as external module * add declaration file and options param * add api tooltip * update * removed submodule * removed due to the incorrect setip * setup tooltips again * wip * update tooltip module * toolbox, inline toolbar * Tooltips in block tunes not uses shorthand * shorthand in a plus and block settings * fix doc * Update tools-inline.md * Delete tooltip.css * Update CHANGELOG.md * Update codex.tooltips * Update api.md * [issue-779]: Grammarly conflicts (#956) * grammarly conflicts * update * upd bundle * Submodule Header now on master * Submodule Marker now on master * Submodule Paragraph now on master * Submodule InlineCode now on master * Submodule Simple Image now on master * [issue-868]: Deleting multiple blocks triggers back button in Firefox (#967) * Deleting multiple blocks triggers back button in Firefox @evgenusov * Update editor.js * Update CHANGELOG.md * pass options on removeEventListener (#904) * pass options on removeEventListener by removeAll * rebuild * Merge branch 'release/2.16' into pr/904 * Update CHANGELOG.md * Update inline.ts * [Fix] Selection rangecount (#968) * Fix #952 (#969) * Update codex.tooltips * Selection bugfix (#970) * Selection bugfix * fix cross block selection * close inline toolbar when blocks selected via shift * remove inline toolbar closing on cross block selection mouse up due to the bug (#972) * [Feature] Log levels (#971) * Decrease margins (#973) * Decrease margins * Update editor.licenses.txt * Update src/components/domIterator.ts Co-Authored-By: Murod Khaydarov <murod.haydarov@gmail.com> * [Fix] Fix delete blocks api method (#974) * Update docs/usage.md Co-Authored-By: Murod Khaydarov <murod.haydarov@gmail.com> * rm unused * Update yarn.lock file * upd bundle, changelog |
||
George Berezhnoy |
13dc0c9bad
|
[Release] Version 2.15 (#826) | ||
George Berezhnoy |
63a82d3424
|
Improve caret behaviour (#589) | ||
George Berezhnoy |
da9255a98d
|
Enable editor autofocus (#581) | ||
George Berezhnoy |
7ca07c7999
|
Handle paste to the same block (#578) | ||
George Berezhnoy |
9d0d638d42
|
Improve caret behaviour (#579) | ||
Murod Khaydarov |
41ae41cda7
|
issue-469: resolving error with setCaret (#570)
* issue-469: resolving error with setCaret * dump version * update package.json * expand input types |
||
Murod Khaydarov |
4c9aa0fbd5
|
Backspace on selected blocks (#536)
* initial * update * requested changes * Update src/components/modules/blockEvents.ts Co-Authored-By: khaydarov <murod.haydarov@inbox.ru> * minimized script * update |
||
George Berezhnoy |
bcdfcdadbc
|
Move to typescript (#474)
* Move all modules to ts * It works * Update README.md Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com> * Interfaces * Interfaces * Move depending interfaces to external types * Update README.md * update tools * add some docs * Add some fixes * Add desctiprion for Block declaration and Core properties * Fixes due comments : * Remove Block from external types * Bump version * Update src/components/modules/tools.ts Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com> * Update src/components/core.ts Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com> * Rename gteBlockHTMLByIndex to getBlockByIndex * Remove unnecessary constructors * Clean up bindEvents method * Add InlineToolConstructable interface * Delete legacy notifications class * Fix zero-configuration bugs * Update inline tools and block tunes constructors |
Renamed from src/components/modules/caret.js (Browse further)