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

Adding New Tags

Support forum for WYMeditor.

Adding New Tags

Postby tobyhede on Sun Apr 20, 2008 3:27 am

I'm just wondering how I can go about adding new/custom tags to the editor?

Is there a way to extend the validation to encompass tags that are no in the core ruleset?

Toby Hede
FiniteStateMachine.com
tobyhede
 
Posts: 4
Joined: Sun Apr 20, 2008 2:27 am

Re: Adding New Tags

Postby jfh on Tue Apr 29, 2008 8:10 pm

Yes, you can define custom tags and attributes.
There's an implementation example at:
http://files.wymeditor.org/wymeditor/tr ... ustom.html

WYMeditor uses a Lexer derived from SimpleTest - http://www.lastcraft.com/simple_test.php
More info at:
http://wiki.splitbrain.org/wiki:parser
User avatar
jfh
Site Admin
 
Posts: 370
Joined: Sat Sep 23, 2006 8:43 pm
Location: Belgium

Re: Adding New Tags

Postby PACE on Thu May 15, 2008 9:07 pm

Take a look a the following thread if you need attributes with namespace too:
viewtopic.php?f=3&t=321&start=0
PACE
 
Posts: 15
Joined: Fri Oct 12, 2007 10:24 am
Location: Austria


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests