You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
- Removes 'span' from being a valid part of alignment formats so it's
not used to align contents, since it's going to mostly be an inline
format, wheras you'd really want alignment on the parent block.
- Adds direction cleaning to all direction change events, to remove
direction styles and child direction controls which may complicate
matters and cause direction changes not to show.
- Makes text direction controls work with table cell range selections,
which TinyMCE does not consider by default, via manual handling.
For #4843
Addressed in c290d01.
Probably not perfect, but now combined with the better clear formatting controls, this should provide the user much more control, or ways to clean & gain control.
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.
The text was updated successfully, but these errors were encountered: