Hide editor statusbar from compose dialog

This commit is contained in:
Hadi Nategh 2018-11-05 15:35:13 +01:00
parent 5c03107500
commit 7089489db9
2 changed files with 8 additions and 1 deletions

View File

@ -67,6 +67,12 @@ var et2_htmlarea = (function(){ "use strict"; return et2_inputWidget.extend([et2
description: "Display menubar at the top of the editor",
type: "boolean",
default: true
},
statusbar: {
name: "Status bar",
description: "Enable/disable status bar on the bottom of ediotr",
type: "boolean",
default: true
}
},
@ -116,6 +122,7 @@ var et2_htmlarea = (function(){ "use strict"; return et2_inputWidget.extend([et2
target: this.htmlNode[0],
body_id: this.dom + '_htmlarea',
menubar: false,
statusbar: this.options.statusbar,
branding: false,
resize: false,
height: this.options.height,

View File

@ -87,7 +87,7 @@
</vbox>
<vbox class="mailComposeBodySection" width="100%">
<hbox disabled="@is_plain" class="mailComposeBody mailComposeHtmlContainer">
<htmlarea name="mail_htmltext" id="mail_htmltext" menubar="false" mode="simple" imageUpload="link_to" expand_toolbar="true" height="478px" width="100%" resize_ratio="0"/>
<htmlarea name="mail_htmltext" id="mail_htmltext" statusbar="false" menubar="false" mode="simple" imageUpload="link_to" expand_toolbar="true" height="478px" width="100%" resize_ratio="0"/>
</hbox>
<hbox disabled="@is_html" class="mailComposeBody mailComposeTextContainer">
<textbox multiline="true" rows="40" cols="120" width="100%" span="all" no_lang="1" name="mail_plaintext" id="mail_plaintext" resize_ratio="0"/>