]> BookStack Code Mirror - bookstack/commit
Lexical: Fixed double-bold text, updated tests
authorDan Brown <redacted>
Sat, 14 Jun 2025 13:50:10 +0000 (14:50 +0100)
committerDan Brown <redacted>
Sat, 14 Jun 2025 13:50:10 +0000 (14:50 +0100)
commit77a88618c21d66cf663bb37979260539df7528e3
tree95f542f0ae19af0f404696c46a4983acbf42a4e3
parent8b062d47951825e04f9a65ea3b09d9c70ee8b59d
Lexical: Fixed double-bold text, updated tests

Double bold was due to text field exporting wrapping the output in <b>
tags when the main tag would already be strong.
resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalEditor.test.ts
resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalEditorState.test.ts
resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalSerialization.test.ts
resources/js/wysiwyg/lexical/core/nodes/LexicalTextNode.ts
resources/js/wysiwyg/lexical/core/nodes/__tests__/unit/LexicalParagraphNode.test.ts
resources/js/wysiwyg/lexical/core/nodes/__tests__/unit/LexicalTextNode.test.ts
resources/js/wysiwyg/lexical/table/__tests__/unit/LexicalTableSelection.test.ts