【问题标题】:How to disable the automatic insertion of <br> tag in p:editor?如何在 p:editor 中禁用 <br> 标签的自动插入?
【发布时间】:2015-08-14 18:19:40
【问题描述】:

我使用 PrimeFaces v4.0.24。有没有办法在&lt;p:editor&gt; 中禁用自动添加&lt;br&gt;?它正在破坏标记和​​验证。

【问题讨论】:

    标签: jsf primefaces editor


    【解决方案1】:

    您可以根据您的要求自定义类 org.primefaces.component.editor。 您可以通过提取其类来创建自己的包org.primefaces.component.editor。只需找出可以修改哪一行代码即可满足您的要求。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-01-01
      • 1970-01-01
      • 2015-01-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-12-28
      相关资源
      最近更新 更多