Copied to clipboard

Flag this post as spam?

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


  • Andreas Nylin 10 posts 80 karma points
    Mar 11, 2022 @ 08:50
    Andreas Nylin
    0

    TinyMCE validElements configuration for each property

    Hello,

    I am trying to find a way to configure TinyMCE so that I can have different validElements configuration for different Rich Text Editor properties. Let's say I want the property on Page A to allow all elements (configured in tinyMceConfig.config). And on Page B i only want to allow p, strong and a. How could I do this? I could remove them before the page renders but it would be nicer if TinyMCE handled this so that I don't have to filter the HTML code.

  • 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