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 4 posts 74 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.

Please Sign in or register to post replies

Write your reply to:

Draft