我使用以下rich:编辑器控件来创建新消息。我在格式下拉列表中选择标题1并输入一些文本并保留该条目。但是当我尝试编辑消息时,它会因加载时出现以下错误而失败。我该如何解决这个问题?
转换缝文本到html
期间发生错误 <s:decorate template="/layout/edit.xhtml">
<ui:define name="label">Message</ui:define>
<rich:editor required="true" id="messageField" theme="advanced" useSeamText="true" viewMode="visual" autoResize="true" value="#{newsHome.instance.message}">
<f:param name="theme_advanced_buttons1" value="newdocument,separator,cut,copy,paste,separator,bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,hr,removeformat,visualaid,separator,sub,sup"/>
<f:param name="theme_advanced_buttons2" value="bullist,numlist,separator,outdent,indent,blockquote,separator,undo,redo,separator,link,unlink,anchor,separator,image,cleanup,help,code,separator,forecolor,backcolor"/>
<f:param name="theme_advanced_buttons3" value="fontselect,fontsizeselect,formatselect,styleselect,separator,charmap"/>
<f:param name="theme_advanced_resizing" value="true"/>
<f:param name="theme_advanced_toolbar_location" value="top" />
<f:param name="theme_advanced_toolbar_align" value="left" />
</rich:editor>
</s:decorate>
答案 0 :(得分:1)
这听起来像我们遇到的一个问题:编辑器每当有人输入带有奇数下划线的内容时。它是由a bug in RichFaces引起的,我们通过将RichFaces升级到3.3.3来修复它。