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.

Change History (1)

comment:1 Changed 10 years ago by Piotrek Koszuliński

Status: newconfirmed

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.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy