Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi I need to be able to give the ability for content editors to be able to paste from word.
I noticed from searching there used to be a paste from word option in the TinyMce but this no longer seems available.
The clear formating option does not remove tags such as H1 etc. I just need a complete clean up but also just give them simple options so B i lists and links so a textarea is alos not a option.
Any help greatly appreciated.
Hi 0100 and welcome to our,
One way that you could do it is by modify the tinymce.config and add a key for paste in plain text. The config file for the tinymce is located in the config folder.
Add this into the tinymce config file.
<command> <umbracoAlias>mcePasteAsText</umbracoAlias> <icon>images/editor/paste.gif</icon> <tinyMceCommand value="" userInterface="true" frontendCommand="pastetext">pastetext</tinyMceCommand> <priority>79</priority></command><config key="paste_as_text">true</config><config key="paste_text_sticky">true</config><config key="paste_text_sticky_default">true</config>
Try to see this thead with the sam topic,
The pastetext option is the new one you just have maded.
And to make an icon for in the text editor when you have add the option on the richtext editor in the datatype folder, you need to go to /umb/Umbraco/lib/tinymce/skins/umbraco/skin.min.css, and add some css for the class .mce-ico mce-i-pastetext
Or you could try see this topic too: http://our.umbraco.org/forum/developers/extending-umbraco/53150-How-to-add-custom-button-to-RTE
Hope this helps,
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted