BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

WYSIWYG Text direction & Alignment controls can fail when set in nested structures

Open ssddanbrown opened this issue 1 year ago • 0 comments

Specifically in tables where there may be subformatting. Especially when copied in from other apps like word which may bring more complex content structures.

Probably best if, on text direction or alignment control usage, we traverse to closest block element to apply it, then remove all alignment/direction (attribute and styles) of all child elements, to keep these block-level.

Additionally, text direction controls don't currently apply during multi-table cell selections, only the first.

ssddanbrown avatar Feb 14 '24 11:02 ssddanbrown