【问题标题】:How to hide the toogle editor from the tinymce editor如何从 tinymce 编辑器中隐藏工具编辑器
【发布时间】:2012-08-21 17:20:10
【问题描述】:

我的 XML 如下所示。除了工具栏编辑器按钮之外的所有内容都对编辑器隐藏。有没有其他代码可以解决这个问题。

<field name="description"
    type="editor"
    cols="20"
    label="COM_TEST_DESCRIPTION_LBL"
    description="COM_TEST_DESCRIPTION_DESC"
    class="inputbox"
    filter="JComponentHelper::filterText"
    buttons="true"
    hide="readmore,pagebreak,image,article,toogle editor"
/>

【问题讨论】:

  • 是否有任何选项可以使用任何隐藏选项来隐藏工具编辑器

标签: joomla joomla2.5 joomla1.7 joomla1.6


【解决方案1】:

最简单的方法是使用 CSS 样式来禁用此按钮的可见性:

.toggle-editor {
    display: none;
}

【讨论】:

  • 在编辑器中,readmore,pagebreak,image,article作为editors-xtn插件使用,可以隐藏。但是toogle编辑器不作为插件使用,所以没有编辑选项。
猜你喜欢
  • 2019-07-19
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多