Hi, I'm trying to add support for some custom tags in fckeditor. The idea is for the user to click a button that opens a dialog, and then input some values. The dialog then should insert one custom tag like this in the editor:
<costumTag label="Age: " type="textfield" /> years
I want this tag to be rendered in the wysiwyg editor like this (it should be read-only):
<div class="form_label">Age: </div>
<input type="textfield" /> years
So, if you use the code editor it should show the costumTag, if you use the wysiwyg editor it should show the renderable html code.
I want to know how can I do this, or if not possible, any satisfiable alternative...
<costumTag label="Age: " type="textfield" /> years
I want this tag to be rendered in the wysiwyg editor like this (it should be read-only):
<div class="form_label">Age: </div>
<input type="textfield" /> years
So, if you use the code editor it should show the costumTag, if you use the wysiwyg editor it should show the renderable html code.
I want to know how can I do this, or if not possible, any satisfiable alternative...