JackUait
aadbabfa6e
refactor: clean up selection tests and remove unused rectangle selection logic
...
refactor: simplify read-only tests by removing drag-and-drop functionality
test: update sanitisation tests to check for safe attributes in HTML
test: enhance configuration tests to ensure proper toolbox popover visibility
test: adjust keyboard shortcuts tests for inline tool handling and modifier key mapping
test: modify toolbox tests to use more specific selectors for paragraph blocks
test: improve UI module tests to utilize block selection methods directly
chore: remove deprecated drag-and-drop tests and related code
fix: update paste module error messages for clarity on configuration issues
2025-11-18 03:56:47 +03:00
JackUait
26eb6f496b
test: add missing coverage E2E tests
2025-11-16 23:46:42 +03:00
JackUait
181e73f3c9
test: add missing test coverage
2025-11-16 07:32:01 +03:00
JackUait
408b160e39
fix: partially replace deprecated APIs with the modern ones
2025-11-16 01:00:11 +03:00
JackUait
5d5f19a61c
fix: replace deprecated APIs with the modern ones
2025-11-16 00:00:30 +03:00
JackUait
d5ba62f70c
test: cover untested parts with tests
2025-11-15 15:30:08 +03:00
JackUait
6a64b139f9
fix: get rid of all nested if statements
2025-11-15 04:49:30 +03:00
JackUait
c6fc903e2a
fix: all eslint issues
2025-11-15 03:55:38 +03:00
JackUait
1d6d0a477e
fix: left typescript errors
2025-11-15 03:33:20 +03:00
JackUait
b677b63eeb
fix: all typescript errors
2025-11-15 03:13:55 +03:00
JackUait
0379064dbb
test: move part of the tests from Cypress to Playwright
2025-11-14 18:51:31 +03:00
JackUait
d4c73564f8
fix: lint issues and add tests for the left modules
2025-11-14 02:52:17 +03:00
JackUait
3b97e0fbd8
fix: lint issues fixed and tests added for modules
2025-11-13 23:06:17 +03:00
JackUait
41484abd5f
fix: add tests and fix lint issues for some files
2025-11-12 06:31:39 +03:00
JackUait
334b85981d
fix: add tests and fix lint issues for blocks.ts/block.ts
2025-11-11 12:53:13 +03:00
JackUait
cae0b37779
fix: add tests and fix lint issues in caret.ts
2025-11-11 11:15:58 +03:00
JackUait
cce5037113
fix: add tests and fix lint issues in toolbox.ts
2025-11-11 07:18:33 +03:00
JackUait
f362da6d59
fix: styles for tooltip.ts
2025-11-11 05:51:45 +03:00
JackUait
8372ee46b8
fix: add tests and fix lint issues in popover-desktop.ts
2025-11-11 05:42:56 +03:00
JackUait
1548a56d2d
fix: add unit tests and fix lint issues for sanitizer.ts
2025-11-11 04:36:18 +03:00
JackUait
f02e838dc7
fix: write tests for tooltip.ts and fix lint issues
2025-11-11 04:17:03 +03:00
JackUait
3ec36a5d7c
test: add tests for i18n
2025-11-10 22:13:35 +03:00
JackUait
bd40b0ff69
test: add tests for sanitisation
2025-11-10 20:50:34 +03:00
JackUait
d14b971774
test: add tests for popover search
2025-11-10 20:22:00 +03:00
JackUait
ff118c4ce8
fix: remove left deprecated APIs from inline-tool-bold.ts
2025-11-10 17:15:04 +03:00
JackUait
f26202e8d7
fix: get rid of deprecated API in inline-tool-bold.ts
2025-11-10 16:54:40 +03:00
JackUait
ec2865091a
fix: make ALL tests in inline-tool-bold pass
2025-11-10 14:52:07 +03:00
JackUait
1a8ec5571c
feat: make all test cases of inline-tool-bold work
2025-11-10 14:15:34 +03:00
JackUait
07799175e7
fix: lint issues in inline-tool-bold.ts
2025-11-10 05:17:30 +03:00
JackUait
fdcfef6f5a
test: add tests for inline-link-tool
2025-11-10 05:04:38 +03:00
JackUait
7107717246
test: add data selectors for states of inline-tool-link
2025-11-09 01:34:08 +03:00
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
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
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
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
29c087bf08
fix: lint/typescript errors
2025-11-06 18:47:00 +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