Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rodion Novoselov 694 posts 859 karma points
    Feb 06, 2012 @ 14:09
    Rodion Novoselov
    0

    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?

  • Mike Chambers 636 posts 1253 karma points c-trib
    Feb 06, 2012 @ 14:22
    Mike Chambers
    0

    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

  • 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.

Please Sign in or register to post replies