]> BookStack Code Mirror - bookstack/commit
Lexical: Custom list nesting support
authorDan Brown <redacted>
Fri, 13 Sep 2024 14:50:42 +0000 (15:50 +0100)
committerDan Brown <redacted>
Fri, 13 Sep 2024 14:50:42 +0000 (15:50 +0100)
commit662110c269218807379546cc19c2292f5e3765de
tree79b8cac104a4801ce3a466cc8db1d2ff670c8103
parent5083188ed82b9aa2e5df976f592d1baa67865c39
Lexical: Custom list nesting support

Added list nesting support to allow li > ul style nesting which lexical
didn't do by default.
Adds tab handling for inset/outset controls.
Will be a range of edge-case bugs to squash during testing.
resources/js/wysiwyg/nodes/custom-list-item.ts
resources/js/wysiwyg/nodes/custom-list.ts
resources/js/wysiwyg/services/keyboard-handling.ts
resources/js/wysiwyg/todo.md
resources/js/wysiwyg/ui/defaults/buttons/lists.ts
resources/js/wysiwyg/utils/lists.ts [new file with mode: 0644]
resources/js/wysiwyg/utils/selection.ts