* fix(inline-tool-link): use defaultValue to prevent selectionchange event
* fix(link-tool): handle formatted linked text clicks
* fix test errors
* Revert "fix test errors"
This reverts commit 582e137b77.
* Revert "fix(link-tool): handle formatted linked text clicks"
This reverts commit ae90e03c60.
* fix(selection): removeFakeBackground no longer removes text formatting
* fix(selection): fix jsdoc
* fix(linkTool): add test case to ensure text formatting preservation when applying link
* Add fix entry to changelog
* bump version
* fix(LinkInlineTool): improve unlink behavior based on input state
* 2.31.2-hotfix.0
* fix(linkTool): Add test case to ensure link preservation when applying bold to linked text
* Revert "2.31.2-hotfix.0"
This reverts commit c68ae54c77.
* Add fix entry to changelog
* Bump version
* Revert "Add fix entry to changelog"
This reverts commit 7e537d662a.
* Add fix entry to changelog without formatting
* Refactor test for compatibility with firefox
* fix(blocks):Error occurred when calling renderFromHTML: Can't find a Block to remove.
* fix: resolve "Can't find a Block to remove" error in renderFromHTML
- Make renderFromHTML async and await BlockManager.clear() to prevent race condition
- Change removeBlock order: remove from array before destroy to prevent index invalidation
- Fix clear() method to copy blocks array before iteration to avoid modification during loop
Fixes issue where renderFromHTML would fail with "Can't find a Block to remove" error
due to concurrent block removal operations and array modification during iteration.
Resolves#2518
* Added fix for memory leak issue
* Documented the fix in docs/CHANGELOG.md
* v2.31.0
* Documented the fix in docs/CHANGELOG.md
* Documented the fix in docs/CHANGELOG.md
* Documented the fix in docs/CHANGELOG.md
* Documented the fix in docs/CHANGELOG.md
---------
Co-authored-by: Omotayo Obafemi <omotayo@testlio.com>
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Bug Fix For When / Overides external text
* Moved fix to blockEvents
* Moved fix to blockEvents
* Moved fix to blockEvents
* Refactored test to simulate behaviour
* Added fix to change log
* Refactored test to mimick exact behaviour of the bug
---------
Co-authored-by: Omotayo Obafemi <omotayo@testlio.com>
Co-authored-by: Peter <specc.dev@gmail.com>
* update all submodules
* rm checklist and nested list submodule
* Update .gitmodules
* rm list submodule
* add list submodule
* all submodules updated
* fix(inline-tools): inline tools shortcuts now works in read-only mode
* pass config to the conversionConfig.import method
- Now `convertStringToBlockData` method passes target tool config the import method
- Fixed types in convesion config file (somehow imprort could return function that returns string, but import should return method that would return ToolData) this caused just type error that never been reached because types were actually ignored
- Added test that checks, that import method actualy gets passed config
* update changelog
* eslint fix
* updated test description
* jsdoc improved
* typos in changelog
* fix: prevent inline toolbar from closing in nested instance of editor
* docs: updated changelog.md with fix description
* fix: fix import to use `type`
---------
Co-authored-by: Peter <specc.dev@gmail.com>
* Fixed display of convert menu for blocks without export rule
According to the workflow script from the documentation:
https://editorjs.io/tools-api/#conversionconfig
* Update CHANGELOG.md
* some improvements and tests
---------
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Fix not removing fake selection on convert to toggle
* Update version and changelog
* Update docs/CHANGELOG.md
Co-authored-by: Peter <specc.dev@gmail.com>
---------
Co-authored-by: Peter <specc.dev@gmail.com>