- Issue created by @MacSim
- 🇫🇷France abdei Paris, Ile de France
Hello @macsim,
Take a look at this module https://www.drupal.org/project/ckeditor_remove_format → and let me know if that answers your request.
Much appreciated.
Regards,
Abdel - 🇫🇷France MacSim
Hi @abdel
It's not exactly what I am looking for. Your module removes every HTML tag in the text, I'd like something that works exactly like the "Remove format" button does: it keeps the HTML structure and removes the inline
style
attributes on all the HTML tags.(and I'd really love not to have to add one more module to handle that use case - I think that it's something which might be useful on a lot of websites and could be part of the CKEditor5 module itself)
- Status changed to Postponed: needs info
10 months ago 12:51pm 13 February 2024 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
removes the inline style attributes on all the HTML tags.
That was not at all clear to me from reading the issue summary 😅 Can you please expand the issue summary to explain how this relates to:
- the
RemoveFormat
button that has been here all along - the paste from GDocs/Office/… functionality that was improved in ✨ [upstream] CKEditor 5 PasteFromOffice plugin should not allow MS Office/Apple Pages/Google Docs-specific classes and styles even when HTML is unrestricted Fixed
- the use of (or any text format that does not use the
filter_html
filter) versus other text formats? - the
filter
plugins in Drupal core — is that what you're referring to in the title?
Right now, there's not enough information here to act on it. Yet! 😄
- the