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
The document title is always represented as a <title /> element in the model. It's not possible to change it to the other block element (post-fixer will always fix such a change).
Commands that try to change title element should be disabled when selection is in the title.
The text was updated successfully, but these errors were encountered:
oskarwrobel
changed the title
Heading plugin should be disabled when selection in in the title
Heading plugin should be disabled when selection in the title
Aug 28, 2019
In a case of elements that are not allowed to be a title (cannot be renamed to title), it works bad. E.g. after executing one of the list commands, title element is renamed to listItem then postfixer cannot rename it back to title because list cannot be transformed to title. In this case post-fixer creates an empty title before the list item.
It makes it possible to set Schema rules for all elements inside the title element. So, we can disallow all elements except title-content so all commands that could rename title to some other block should be disabled when selection is in the title element.
Follow-up: #2003
The document title is always represented as a <title /> element in the model. It's not possible to change it to the other block element (post-fixer will always fix such a change).
Commands that try to change title element should be disabled when selection is in the title.
The text was updated successfully, but these errors were encountered: