]> BookStack Code Mirror - bookstack/commit
WYSIWYG: Code & table fixes
authorDan Brown <redacted>
Sat, 5 Oct 2024 11:42:47 +0000 (12:42 +0100)
committerDan Brown <redacted>
Sat, 5 Oct 2024 11:42:47 +0000 (12:42 +0100)
commitc314a60a164a425733ebecabc0bbf4f095a34366
treeda61b6950f65af4c1b3e074916cfda2c1d42e220
parent9b2520aa0cff4ecdc43a03413817fc862b6ef5db
WYSIWYG: Code & table fixes

- Fixed new code block insertion to remove selection area instead of
  just adding after.
- Added default table column widths to not be collapsed
- Updated table dom export to not duplicate colgroups.
resources/js/wysiwyg/lexical/table/LexicalTableNode.ts
resources/js/wysiwyg/ui/framework/blocks/table-creator.ts
resources/js/wysiwyg/utils/formats.ts
resources/js/wysiwyg/utils/nodes.ts
resources/js/wysiwyg/utils/selection.ts
Morty Proxy This is a proxified and sanitized view of the page, visit original site.