如何从tinymce编辑器隐藏toogle编辑器 [英] How to hide the toogle editor from the tinymce editor
本文介绍了如何从tinymce编辑器隐藏toogle编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的XML如下所示.除了toogle编辑器按钮之外的所有内容都将从编辑器中隐藏.还有其他代码可以解决此问题.
My XML is as shown below. Everything except the toogle editor button becomes hidden from the editor. Is there any other code to fix the problem.
<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"
/>
推荐答案
最简单的方法是使用CSS样式来禁用此按钮的可见性:
The simplest way would be to use CSS styling to disable the visibility of this button:
.toggle-editor {
display: none;
}
这篇关于如何从tinymce编辑器隐藏toogle编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文