Commit graph

865 commits

Author SHA1 Message Date
JackUait
02c8bd4f8c fix: lint issues in inline-tool-link.ts 2025-11-09 01:15:24 +03:00
JackUait
0a23e92111 fix: replace execCommand in selection.ts 2025-11-09 01:07:51 +03:00
JackUait
6a6c8731f5 chore: restore execCommand in selection.ts 2025-11-09 00:21:54 +03:00
JackUait
7940e123e5 test: write tests for inline bold tool 2025-11-09 00:02:59 +03:00
JackUait
e3a67dcbd3 fix: lint issues in __module.ts 2025-11-08 01:52:34 +03:00
JackUait
614cbc400c fix: lint issues in codex.ts 2025-11-08 01:46:35 +03:00
JackUait
bc540d1c0b fix: lint issues in tests 2025-11-08 01:40:23 +03:00
JackUait
1a6049c97d fix: lint issues in inline-tool-bold.ts 2025-11-07 15:15:37 +03:00
JackUait
c489d020c6 fix: lint issues in namespace-internal.ts 2025-11-07 15:10:26 +03:00
JackUait
ca50d7895e fix: lint issues in index.ts 2025-11-07 15:08:25 +03:00
JackUait
5d25817e22 fix: lint issues in api.ts 2025-11-07 04:13:26 +03:00
JackUait
4762b105c4 fix: lint issues in utils.ts 2025-11-07 04:11:32 +03:00
JackUait
75dde42b51 fix: lint issues in selection.ts 2025-11-07 03:17:25 +03:00
JackUait
81dc13e296 fix: lint issues in polyfills.ts 2025-11-07 03:07:16 +03:00
JackUait
4dd1cdb5be fix: lint issues in flipper.ts 2025-11-07 03:00:22 +03:00
JackUait
80be68b031 test: skip copy-paste test 2025-11-07 02:48:30 +03:00
JackUait
4edf334b41 fix: lint issues in tests 2025-11-07 02:23:21 +03:00
JackUait
4e7e384375 fix: lint issues in dom.ts 2025-11-07 01:57:29 +03:00
JackUait
7ad1eed3bb fix: lint issues in core.ts 2025-11-07 01:28:41 +03:00
JackUait
23f3e9094a fix: lint issues in blocks.ts 2025-11-07 01:15:51 +03:00
JackUait
e32ea4ca9e fix: lint issues in domIterator.ts 2025-11-07 00:53:20 +03:00
JackUait
c434c33284 feat: update deps 2025-11-07 00:50:55 +03:00
JackUait
29c087bf08 fix: lint/typescript errors 2025-11-06 18:47:00 +03:00
Peter Savchenko
a04c37b30b add example of how to use i18n for Convert To buttons 2025-09-15 20:14:25 +03:00
Peter
9612e0d247
release 2.31 (#2956) v2.31.0 2025-09-06 16:31:44 +03:00
Peter Savchenko
7b6b78235a add changelog 2025-09-06 16:20:35 +03:00
narpat-ps
df7d3a7883
resolve "Can't find a Block to remove" error in renderFromHTML (#2941)
* 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
2025-09-06 16:20:08 +03:00
Peter Savchenko
628f2188e7 Create .nvmrc 2025-09-06 16:14:27 +03:00
Peter
7da61e98ff
improvement(caret): caret.setToBlock() offset argument improved (#2922) v2.31.0-rc.10
* chore(caret): caret.setToBlock offset improved

* handle empty block

* Update caret.cy.ts

* fix eslint
2025-04-30 19:48:20 +03:00
github-actions[bot]
fdaef55e5f
Bump version (#2919) v2.31.0-rc.9
Co-authored-by: github-actions <action@github.com>
2025-03-11 11:17:40 +03:00
Peter
cd65d8cd29
imrovement(flipper): allow to select next/prev line by shift arrows (#2918)
* fix: prevent flipper navigation when shift key is pressed

* rm logs

* feat: improve line selection with Shift + Up/Down

* fix lint action

* fix action

* upd
2025-03-11 10:01:46 +03:00
github-actions[bot]
7399e55f7e
Bump version (#2899) v2.31.0-rc.8
Co-authored-by: github-actions <action@github.com>
2025-01-11 16:25:32 +03:00
Omotayo Obafemi
d15a8c2b2f
Added fix for memory leak issue (#2893)
* 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>
2025-01-08 20:52:40 +03:00
Omotayo Obafemi
d950a11b8e
Bug Fix For When "/" Overides external text (#2894)
* 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>
2025-01-08 18:23:38 +03:00
Peter
c9a6cfbe8f
dx(submodules): remove tools submodules from the repo (#2898)
* rm all submodules

* rm commands

* Update package.json
2025-01-07 19:34:59 +03:00
Vineeth
deba7eccbd
chore: bump version for release (#2896) v2.31.0-rc.7 2024-12-21 20:15:53 +05:30
Vineeth
444caa9870
fix: properly handle visible whitespaces in empty blocks (#2865)
* fix: handle whitespace input in empty placeholders correctly

* fix: isNodeEmpty() to handle visible whitespaces

* chore: bump version from 2.31.0-rc.5 to 2.31.0-rc.6

* chore: bump version from 2.31.0-rc.5 to 2.31.0-rc.6

* fix: submodules updated

* fix: eslint errors

* test: backspace removes trailing spaces, hides placeholder in empty blocks

* fix: update incorrect tests

* fix: resolving submodules issue

* Create list

---------

Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
2024-12-21 19:40:15 +05:30
github-actions[bot]
2ec88da336
Bump version (#2895) v2.31.0-rc.6
Co-authored-by: github-actions <action@github.com>
2024-12-21 14:41:46 +03:00
Peter
5e75e64e6c
chore(submodules): update all submodules to the latest version (#2880)
* 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
2024-12-21 14:31:22 +03:00
Peter
6893462d4b
fix(inline-tools): inline tools shortcuts now works in read-only mode (#2891)
* fix(inline-tools): inline tools shortcuts now works in read-only mode

* use ubuntu-20.04 instead of latest
2024-12-21 11:28:55 +03:00
Peter Savchenko
d9f301ffb9 Merge branch 'v-2-30-6' into next v2.31.0-rc.5 2024-11-11 23:30:09 +03:00
Peter
597bde3bca
fix(inline-link): link insertion in safari (#2864) v2.30.7
* fix(inline-link): link insertion in safari

* Update CHANGELOG.md
2024-11-11 22:44:19 +03:00
github-actions[bot]
58a7a9eeea
Bump version (#2861) v2.31.0-rc.4
Co-authored-by: github-actions <action@github.com>
2024-11-06 21:44:07 +03:00
Fabian
b20c891478
notifier and tooltip, fix closes #2591, #2390, #2462 (#2842)
* notifier and tooltip, fix closes #2591, #2390, #2462

* Update CHANGELOG.md

---------

Co-authored-by: Peter <specc.dev@gmail.com>
2024-11-06 21:40:26 +03:00
github-actions[bot]
5ec240891c
Bump version (#2860) v2.31.0-rc.3
Co-authored-by: github-actions <action@github.com>
2024-11-06 21:00:58 +03:00
Peter
7ee06228e7
chore(ui): update current block in readonly by clicks on block (#2859)
* chore(ui): update current block in readonly by clicks on block

* fix eslint
2024-11-06 20:54:51 +03:00
github-actions[bot]
631340912e
Bump version (#2847) v2.31.0-rc.2
Co-authored-by: github-actions <action@github.com>
2024-10-17 20:02:31 +03:00
e11sy
da4257a67f
Feat (Conversion-config): pass target tool config to the conversionConfig.import method (#2848)
* 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
2024-10-17 19:38:02 +03:00
e11sy
3cd24c4da1
Chore (toolbox): improved shortcuts visibility when tool exports array of toolbox items (#2846)
* toolbox items logic improved

* typo

* lint fix

* logic improved

* make displaySecondaryLabel true by default

* eslint fix

* added testcase

* updated changelog

* typo

* lint fix
2024-10-16 21:57:43 +03:00
Peter
eb7ffcba3c
fix(merge): after merge caret will be set in a place of glue (#2841) v2.31.0-rc.1
* fix merge caret loosing

* changelog and patch

* Update nested-list

* Update Backspace.cy.ts

* Update Backspace.cy.ts

* fix tests

* fix tests
2024-10-09 21:28:04 +03:00