You are not logged in.
Pages: 1
Hello,
I want to use Xinha for TWIKI and have some problems with special TWIKI-Tags.
These are e.g. <nop>, <noautolink> </noautolink>
The Problem is that Xinha doesn't allow me to enter them by surroundHTML or by Hand.
If I enter them by hand it removes the tag.
Now the qustion:
Is there a possibility to allow custom tags by tweaking the code?? And how can I do this ??
Thank you for your help.
M. Seidler
Offline
I had a similar problem some time ago and I saw that this has been discussed before here on the board. As far as I understood it's not possible due to limitations in the browsers.
My solution is that for example h4 (a tag I don't use on the pages) is inserted in the editor and when the page is submitted is h4 replaced with the tag that I really want before the information is stored in the database.
Offline
Thank you for your answer. I think there must be a possibility to use custom tags. In the htmlarea.js they use ithe node type to find out how to handle the tags. This node type function gives back to which dtd class the tag belong to.
I think a solution over a own dtd file should be possible. The problem is that I'am not so fit in javascript how to implement it.
Greetings from Munich
M. Seidler
Offline
That would definitely be a nice solution if it's possible to get it to work! Please post here on the forum if you get it to work.
I just wanted an easy solution and since there are enough unused standard tags available I just simply replace the temp tags.
Offline
Pages: 1