admin管理员组文章数量:1414614
I'm trying to configure TinyMCE so that it accepts pasting from Microsoft Word and cleans it up in an expected HTML hierarchy.
Most of our editorial staff use a single line break to denote a line break and a double return to indicate a paragraph. However, MS Word's output puts the next line in a separate paragraph (unless you shift-enter for a carriage return) and a blank paragraph with non-breaking space for two returns. Is there any way to sanitize this input? I've tried playing around with the plugins but can't find any magic bo.
I'm trying to configure TinyMCE so that it accepts pasting from Microsoft Word and cleans it up in an expected HTML hierarchy.
Most of our editorial staff use a single line break to denote a line break and a double return to indicate a paragraph. However, MS Word's output puts the next line in a separate paragraph (unless you shift-enter for a carriage return) and a blank paragraph with non-breaking space for two returns. Is there any way to sanitize this input? I've tried playing around with the plugins but can't find any magic bo.
Share Improve this question edited Dec 8, 2008 at 20:42 Pim Jager 32.1k17 gold badges74 silver badges99 bronze badges asked Dec 8, 2008 at 20:28 user37731user37731 5,6571 gold badge18 silver badges8 bronze badges1 Answer
Reset to default 5I've had success with this plugin.
本文标签: javascriptTinyMCEPasting from wordStack Overflow
版权声明:本文标题:javascript - TinyMCE - Pasting from word - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745158735a2645330.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论