Copied to clipboard

Flag this post as spam?

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


  • dominik 711 posts 733 karma points
    Apr 01, 2011 @ 13:42
    dominik
    0

    Delete all html tags out of TinyMCE

    Hi All,

    Is there a way to include the Tinymce icon for deleting all html tags out of the code?

    THis would be great

  • elspiko 133 posts 302 karma points
    Apr 01, 2011 @ 14:06
    elspiko
    0

    Would using the umbraco.library.StripHtml method be of any help? I guess its not 100% what you're asking for though. But what would be the benefit of using a RTE without Rich Text functionality, wouldn't a multi line text field be of moreuse?

  • dominik 711 posts 733 karma points
    Apr 01, 2011 @ 14:10
    dominik
    0

    So I think i have to describe why I need this functionallity.

    Ther person who are pasting some content into the TinyMCE editor often copy it from another of our sites and there are some classes, styles etc.

    After they paste all of the content into the editor it would be great if there is a icon (like it is in other editors) which deltes all html tags.

    After this is done the person is able to make their own style changes


    I hope now it is much more easy to understand

     

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Apr 01, 2011 @ 14:28
    Tom Fulton
    0

    Have you tried using the Paste from Word button?  I think it's supposed to remove styling/etc when pasting from another program.

    If not, is the icon to delete html tags a plugin or built-in TinyMCE functionality?  If it's a plugin you might be able to implement it using similar steps to this wiki article.  Otherwise you might be able to just add the command to tinyMceConfig.config (another wiki explaining this).  Not 100% on that though.

    -Tom

Please Sign in or register to post replies

Write your reply to:

Draft