问题
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"
/>
回答1:
The simplest way would be to use CSS styling to disable the visibility of this button:
.toggle-editor {
display: none;
}
来源:https://stackoverflow.com/questions/12138275/how-to-hide-the-toogle-editor-from-the-tinymce-editor