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?
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.
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
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?
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
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
is working on a reply...