Ticket #586 (closed New Feature: wontfix)

Opened 7 years ago

Last modified 13 months ago

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

comment:1 Changed 7 years ago by martinkou

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

comment:2 Changed 7 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 13 months ago by j.swiderski

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

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy