Sitecore:强制粘贴为未格式化的文本 [英] Sitecore: Forcing pasting as unformatted text
问题描述
感谢您的时间。 设置
< property name =StripFormattingOnPaste>无< / property>
位于文件 / sitecore / shell / radcontrols / editor / ConfigFile中。 xml
上次我有一个类似于你的要求,我去了那里做了改变,它工作得很好。应该仍然可以工作,除非他们改变了一些东西: - )
Is there a good way to force pasting as text inside Rich Text Fields inside Sitecore? I know there's a "Paste as Text" button in the Rich Text Editor itself, but content authors are almost definitely going to just hit Ctrl+V or Right-Click->Paste to put the text in, and if that content came from Word, all hell breaks loose with the markup. The workaround we have so far is to paste into notepad and then to copy that text and paste it into the Rich Text Field, but that solution is inelegant and I hate it.
Thank you for your time.
Take a look at the setting
<property name="StripFormattingOnPaste">None</property>
Located in the file /sitecore/shell/radcontrols/editor/ConfigFile.xml
Last time I had a requirement similar to yours, I went in there and made the change and it worked fine. Should still work, unless they changed something :-)
这篇关于Sitecore:强制粘贴为未格式化的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!