Opened 18 years ago
Closed 12 years ago
#586 closed New Feature (wontfix)
Custom tags
Reported by: | 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 18 years ago by
Cc: | saul11@… added |
---|---|
Reporter: | changed from Martin Kou to johnwatson@… |
comment:2 Changed 18 years ago by
comment:3 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → 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.
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