Opened 10 years ago
Last modified 10 years ago
#12304 confirmed New Feature
Allow for tag blacklisting for removeFormat
Reported by: | Thomas Jones | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Generally, in CKEditor, highlighting a selection with an image and executing a removeFormat command will remove any styling on the image, which is usually OK. However, any integration of large images with custom cropping and high-resolution images will, upon doing this, result in very large images being placed into the document.
I'd love for there to be a configuration option to say, for example, when executing removeFormat, do not touch the "img" tag.
There are two options at the moment:
First allows to specify tags that should be removed totally and second attributes on all tags that remove format checks. However, it's not possible to block removing attributes specified in the second option from some elements. This is were 3rd config options is required.