G'day. The question is mostly out of curiousity - I can definitely live without it but I'm still interested. Does anyone know any way to set different set of "<validElements>" for different Rich Text datatypes? For instance I have two different RTE types - one for generic text pages and one for blog posts and I want to apply different restrictions to their HTML. Is it possible?
TinyMCE validity rules
G'day. The question is mostly out of curiousity - I can definitely live without it but I'm still interested. Does anyone know any way to set different set of "<validElements>" for different Rich Text datatypes? For instance I have two different RTE types - one for generic text pages and one for blog posts and I want to apply different restrictions to their HTML. Is it possible?
you should be able to hook into the tinymce api with a jquery/javascript call on the editContent.aspx page...
you'd have to work out how the identifier for the two different rte's can be targeted... and then inject additional extended elements?
here's a thread at moxiecode relating to doing a similar thing in drupal...
http://drupal.org/node/440552
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.