Opened 8 years ago

Closed 2 years ago

#586 closed New Feature (wontfix)

Custom tags

Reported by: johnwatson@… Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: SF Cc: saul11@…

Description

Fred,

I see great potential for custom tags, for instance at the moment im using placeholders for a kind of "mail merge". But also I would like to add other custom additions such as asp code (<%=date()%>) etc.

Although I can add this my self, it becomes difficult and timely to do an update because I have to dig out all my custom stuff and then make sure I dont over write it.

Could you add a custom dropdown to the system so that all we have to do is edit the config file, much like we do with the styles etc,

John


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=725326&group_id=75348&atid=543656

Change History (3)

comment:1 Changed 8 years ago by martinkou

  • Cc saul11@… added
  • Reporter changed from martinkou to johnwatson@…

comment:2 Changed 8 years ago by martinkou

In 'fckstyles.xml' just set the element attribute to the tagName you want. E.g. <Style name="customStyle" element="custom">


Moved from SF. Original poster: saul11

comment:3 Changed 2 years ago by j.swiderski

  • Resolution set to wontfix
  • Status changed from new to closed

CKEditor is HTML editor. According to http://www.w3.org/html/wg/drafts/html/master/dom.html#elements custom html tags can't be used and they would be treated in such way by editor.

Authors must not use elements, attributes, or attribute values that are not permitted by this specification or other applicable specifications, as doing so makes it significantly harder for the language to be extended in the future.



The best thing one can do here is using: http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-protectedSource. This will protect them - tags won't be touched by editor.

Note: See TracTickets for help on using tickets.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy