]> BookStack Code Mirror - bookstack/commit
Lexical: Added testing for some added shortcuts
authorDan Brown <redacted>
Mon, 16 Dec 2024 16:24:47 +0000 (16:24 +0000)
committerDan Brown <redacted>
Mon, 16 Dec 2024 16:27:44 +0000 (16:27 +0000)
commite50cd33277026a93983b696014c6468a4d34fe6f
tree8682d9d2dd1493fd7a6443e581cbf1ca28980e1f
parent8486775edf9d7979f9d6f1f555460bf8678d6653
Lexical: Added testing for some added shortcuts

Also:
- Added svg loading support (dummy stub) for jest.
- Updated headless test case due to node changes.
- Split out editor change detected to where appropriate.
- Added functions to help with testing, like mocking our context.
dev/build/svg-blank-transform.js [new file with mode: 0644]
jest.config.ts
resources/js/wysiwyg/index.ts
resources/js/wysiwyg/lexical/core/LexicalEditor.ts
resources/js/wysiwyg/lexical/core/__tests__/utils/index.ts
resources/js/wysiwyg/lexical/headless/__tests__/unit/LexicalHeadlessEditor.test.ts
resources/js/wysiwyg/lexical/rich-text/__tests__/unit/LexicalDetailsNode.test.ts [new file with mode: 0644]
resources/js/wysiwyg/services/__tests__/keyboard-handling.test.ts [new file with mode: 0644]
resources/js/wysiwyg/services/common-events.ts
resources/js/wysiwyg/ui/framework/manager.ts
Morty Proxy This is a proxified and sanitized view of the page, visit original site.