]> BookStack Code Mirror - bookstack/commit
WYSIWYG: Fixed unexpected clearing of table cell styles
authorDan Brown <redacted>
Mon, 29 Apr 2024 16:44:56 +0000 (17:44 +0100)
committerDan Brown <redacted>
Mon, 29 Apr 2024 16:47:06 +0000 (17:47 +0100)
commit06bb55184c3ae84c64f370d2adb37786ac804c58
tree1e4f1db8fe877be7f651d9e70799f548fa2245d4
parent6b681961e503aa12893218db1ed9e6154c1b750c
WYSIWYG: Fixed unexpected clearing of table cell styles

Fixes custom table cell clear-format handling since it was being called
on many format removals, not just the clear-formatting action.
This updates the code to specifically run on the RemoveFormat action
which is triggered by the clear formatting button.
Fixes #4964
resources/js/wysiwyg/fixes.js
Morty Proxy This is a proxified and sanitized view of the page, visit original site.