Forum closed. New forum available at http://community.wymeditor.org/

Custom elements

Support forum for WYMeditor.

Custom elements

Postby phoque on Sun Jul 06, 2008 1:59 pm

Hi people,

Is there a way to let WYMeditor allow custom elements?
Namely: Stuff like <% image name="test" %>, <% poll id="37" %> and so on.

I am thinking of a way to make it not convert "<%" to "&lt;%" and "%>" to "%&gt;" or maybe even a custom popup where you can enter the name, id or the whole element.

Any ideas?

Nils
phoque
 
Posts: 4
Joined: Sun Jul 06, 2008 1:45 pm

Re: Custom elements

Postby jfh on Tue Jul 08, 2008 8:00 pm

You can customize the XHTML parser.
Example here:
http://files.wymeditor.org/wymeditor/tr ... arser.html
User avatar
jfh
Site Admin
 
Posts: 370
Joined: Sat Sep 23, 2006 8:43 pm
Location: Belgium


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest