Copied to clipboard

Flag this post as spam?

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


  • anthony hall 222 posts 536 karma points
    Oct 27, 2011 @ 10:40
    anthony hall
    0

    tinymce is putting content in <pre> tag

    I have alot of content inside psd files. When this text data is copied into a Rich Text editor it put the content inside a <pre> tag. Is there a way i can force it to create <p> tags instead?

  • Ivan 139 posts 302 karma points
    Oct 27, 2011 @ 13:32
    Ivan
    0

    Try to include pre inside <invalidElements> section of tinyMceConfig.config file located under "config" folder.

    You can also check the following topic:

    http://our.umbraco.org/wiki/how-tos/customizing-the-wysiwyg-rich-text-editor-%28tinymce%29/allow-any-markup-in-the-tinymce-editor

    Remember to "touch" your web.config file to make Umbraco reload it's configuration.

    Bye!
    Ivan

  • anthony hall 222 posts 536 karma points
    Oct 27, 2011 @ 13:41
    anthony hall
    0

    thanks. I did as you suggested and it worked. 

     <invalidElements>font, pre</invalidElements>

  • 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