Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#9697 closed New Feature (invalid)

Disble auto unmatching tag correct option

Reported by: Juyong Jeong Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

I have a problem when I allow users to edit their website templates using CKEditor.

Template files contains unmatching HTML tags intentionally. e.g., some open tags reside header.template, while closing tags for those reside in footer.template. And main content comes in between two templates.

However, when they open these template files, CKEditor auto-correct unmatched tags, then it breaks template files as a result.

Can we have an option for CKEditor to enable/disable this auto tag correct option?

Change History (4)

comment:1 Changed 11 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

comment:2 Changed 11 years ago by Juyong Jeong

Could you tell me why this new feature request is invalid?

Version 0, edited 11 years ago by Juyong Jeong (next)

comment:3 in reply to:  1 Changed 11 years ago by Juyong Jeong

Replying to j.swiderski:

Could you tell me why this new feature request is invalid?

comment:4 Changed 11 years ago by Jakub Ś

Can we have an option for CKEditor to enable/disable this auto tag correct option?

No this is impossible. CKEditor is HTML editor and follows specification rules. You can't use custom tags in HTML and these tags will be treated that way.

The only thing you can do is using protectedSource e.g. http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-protectedSource

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