- Issue created by @MacSim
- 🇫🇷France g.abderrahim 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
styleattributes 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
over 1 year 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
RemoveFormatbutton 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_htmlfilter) versus other text formats? - the
filterplugins 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
- 🇺🇸United States smustgrave
Just following up on #4, if no follow up could close out in 3 months
Thanks!