]> BookStack Code Mirror - bookstack/commit
WYSIWYG: Added justify cell range cleanup
authorDan Brown <redacted>
Thu, 16 May 2024 13:54:44 +0000 (14:54 +0100)
committerDan Brown <redacted>
Thu, 16 May 2024 13:59:30 +0000 (14:59 +0100)
commit570af500f4155488265d5606a1b31314c1b0c77b
tree595d808faeabdf18f99e5774ddbbd981cd2a08e8
parent38913288d81fb1c8fcc62873499a9f31f4fe46e4
WYSIWYG: Added justify cell range cleanup

To help override & gain control of setting text alignment in tables.

- Adds support of clearing "align" attributes in certain operations.
- Updates cell range action handling to dedupe execcommand handling.
- Adds clearing of additional alignment classes on direction control.

Closes #5011
resources/js/wysiwyg/fixes.js