]> BookStack Code Mirror - bookstack/commit
Lexical: Updated toolbar & text node exporting
authorDan Brown <redacted>
Mon, 23 Sep 2024 16:36:16 +0000 (17:36 +0100)
committerDan Brown <redacted>
Mon, 23 Sep 2024 16:36:16 +0000 (17:36 +0100)
commita62d8381be1b5736b625f516c303b84c8a64c47a
tree763c6e688fc91baa541a8e8c054c59b018466ed6
parent8b32e6c15ac4a188b48aed478be4382acae120ee
Lexical: Updated toolbar & text node exporting

- Updated toolbar to match existing editor, including dynamic RTL/LTR
  controls.
- Updated text node handling to not include spans and extra classes when
  not needed. Added & update tests to cover.
16 files changed:
resources/js/wysiwyg/lexical/core/__tests__/unit/HTMLCopyAndPaste.test.ts
resources/js/wysiwyg/lexical/core/nodes/LexicalTextNode.ts
resources/js/wysiwyg/lexical/core/nodes/__tests__/unit/LexicalTabNode.test.ts
resources/js/wysiwyg/lexical/core/nodes/__tests__/unit/LexicalTextNode.test.ts
resources/js/wysiwyg/lexical/headless/__tests__/unit/LexicalHeadlessEditor.test.ts
resources/js/wysiwyg/lexical/html/__tests__/unit/LexicalHtml.test.ts
resources/js/wysiwyg/lexical/table/__tests__/unit/LexicalTableNode.test.ts
resources/js/wysiwyg/lexical/utils/__tests__/unit/LexicalEventHelpers.test.ts
resources/js/wysiwyg/lexical/utils/__tests__/unit/LexicalUtilsSplitNode.test.ts
resources/js/wysiwyg/lexical/utils/__tests__/unit/LexlcaiUtilsInsertNodeToNearestRoot.test.ts
resources/js/wysiwyg/todo.md
resources/js/wysiwyg/ui/framework/manager.ts
resources/js/wysiwyg/ui/index.ts
resources/js/wysiwyg/ui/toolbars.ts
resources/sass/_editor.scss
resources/sass/_pages.scss
Morty Proxy This is a proxified and sanitized view of the page, visit original site.