Copied to clipboard

Flag this post as spam?

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


  • Hardy Wang 91 posts 112 karma points
    Mar 05, 2012 @ 18:29
    Hardy Wang
    0

    Persist Empty Tag in TinyMCE

    By default TinyMCE will remove all empty Html tags, how can I configure it to allow empty tags?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 05, 2012 @ 20:32
    Jan Skovgaard
    0

    Hi Hardy

    I'm not sure how it can be done but I'm a bit curious to learn why you want this to happen?

    /Jan

  • David Verberckmoes 46 posts 77 karma points
    Mar 15, 2012 @ 15:23
    David Verberckmoes
    1

    Hi Hardy,

    you can edit the tinyMceConfig.config file in the config folder.

    Look for the <validElements> element and remove the minus sign("-") before any of the tags you dont want to get stripped out in the editor. Make sure you recycle your app pool or touch the web.config in order to reload the config.

    Rgds,

    David

Please Sign in or register to post replies

Write your reply to:

Draft