Merge branch 'master' of https://github.com/cycleccc/wangEditor-next #106
Annotations
5 errors
Unhandled error:
packages/core/src/editor/dom-editor.ts#L320
Error: Cannot resolve a DOM point from Slate point: {"path":[0,0],"offset":5}
❯ Object.toDOMPoint packages/core/src/editor/dom-editor.ts:320:13
❯ Object.toDOMRange packages/core/src/editor/dom-editor.ts:254:33
❯ Module.editorSelectionToDOM packages/core/src/text-area/syncSelection.ts:101:46
❯ packages/core/src/text-area/TextArea.ts:198:7
❯ processTicksAndRejections node:internal/process/task_queues:95:5
This error originated in "packages/core/__tests__/editor/plugins/with-dom.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "packages/core/__tests__/editor/plugins/with-dom.test.ts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/core/src/text-area/syncSelection.ts#L125
TypeError: Cannot read properties of undefined (reading 'bind')
❯ Module.editorSelectionToDOM packages/core/src/text-area/syncSelection.ts:125:72
❯ packages/core/src/text-area/TextArea.ts:198:7
❯ processTicksAndRejections node:internal/process/task_queues:95:5
This error originated in "packages/core/__tests__/editor/plugins/with-dom.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "packages/core/__tests__/editor/plugins/with-dom.test.ts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
node_modules/lodash.debounce/index.js#L160
TypeError: df.toDOMRange(...).getClientRects is not a function
❯ getPositionBySelection node_modules/core-js/src/menus/helpers/position.ts:58:27
❯ t.setPosition node_modules/core-js/src/menus/bar/HoverBar.ts:215:29
❯ Object.<anonymous> node_modules/core-js/src/menus/bar/HoverBar.ts:302:12
❯ invokeFunc node_modules/lodash.debounce/index.js:160:19
❯ trailingEdge node_modules/lodash.debounce/index.js:207:14
❯ Timeout.timerExpired [as _onTimeout] node_modules/lodash.debounce/index.js:195:14
❯ listOnTimeout node:internal/timers:569:17
❯ processTimers node:internal/timers:512:7
This error originated in "packages/basic-modules/__tests__/color/color-menus.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "packages/basic-modules/__tests__/color/color-menus.test.ts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
node_modules/lodash.debounce/index.js#L160
TypeError: df.toDOMRange(...).getClientRects is not a function
❯ getPositionBySelection node_modules/core-js/src/menus/helpers/position.ts:58:27
❯ t.setPosition node_modules/core-js/src/menus/bar/HoverBar.ts:215:29
❯ Object.<anonymous> node_modules/core-js/src/menus/bar/HoverBar.ts:302:12
❯ invokeFunc node_modules/lodash.debounce/index.js:160:19
❯ trailingEdge node_modules/lodash.debounce/index.js:207:14
❯ Timeout.timerExpired [as _onTimeout] node_modules/lodash.debounce/index.js:195:14
❯ listOnTimeout node:internal/timers:569:17
❯ processTimers node:internal/timers:512:7
This error originated in "packages/basic-modules/__tests__/color/color-menus.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "packages/basic-modules/__tests__/color/color-menus.test.ts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/basic-modules/src/modules/code-block/menu/CodeBlockMenu.ts#L24
TypeError: Cannot read properties of null (reading 'selection')
❯ Object.nodes node_modules/slate/src/interfaces/editor.ts:873:19
❯ __read node_modules/core-js/modules/es.string.anchor.js:11:4
❯ Object.getSelectedNodeByType node_modules/core-js/src/editor/dom-editor.ts:635:11
❯ CodeBlockMenu.getSelectCodeElem packages/basic-modules/src/modules/code-block/menu/CodeBlockMenu.ts:24:32
❯ CodeBlockMenu.isActive packages/basic-modules/src/modules/code-block/menu/CodeBlockMenu.ts:47:23
❯ Timeout._onTimeout packages/basic-modules/__tests__/code-block/code-block-menu.test.ts:47:19
❯ listOnTimeout node:internal/timers:569:17
❯ processTimers node:internal/timers:512:7
This error originated in "packages/basic-modules/__tests__/code-block/code-block-menu.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "packages/basic-modules/__tests__/code-block/code-block-menu.test.ts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|