[wp-hackers] Adding HTML Elements to TinyMCE
ozgreg
wphackers at galleryembedded.com
Mon Mar 5 03:00:24 GMT 2007
As part of the WPG2 plugin we add a few custom tags in the format of <wpg2>. Upto WP 2.1 we extended the valid elements in TinyMCE by adding the required tags -> $valid_elements .= 'wpg2,wpg2id';
However in WP 2.1.2 I noticed the following..
When entering <WPG2ID> 323 </WPG2ID> tags (Without any spaces of course) in the visual tab of tinymce when you switch to the code view the entry is incorrectly translates into <wpg2id>323</wpg2>
Is anyone else using custom HTML tags and noticed this behaviour or better still getting the correct behaviour in WP 2.1.2?
-------------------- m2f --------------------
Gallery2 Embedded Forums (http://www.galleryembedded.com/forums/)
-------------------- m2f --------------------
More information about the wp-hackers
mailing list