Open filipsobol opened 1 year ago
FYI: this is a hard blocker for some Drupal users: https://www.drupal.org/project/drupal/issues/3321254.
To make it possible we need to augment the RemoveFormatCommand
in 2 places:
Styles feature stores classes in GHS attributes so we can't use Schema attribute property to check it. Probably some extension point would be needed here:
While applying change it should be integrated with GHS to remove only classes registered in the Styles feature:
When we look into this, following the discussion of https://github.com/ckeditor/ckeditor5/issues/11580#issuecomment-1495012553.
The solution could be:
Potential problems:
Strict format needs to be implemented ASAP
In the https://github.com/ckeditor/ckeditor5/issues/11580 issue, we added the Remove Format feature for inline styles.
We need to implement the same for block styles as well.
See the scope of the previous ticket and implementation PR for more information.
If you'd like to see this improvement implemented, add a 👍 reaction to this post.