Drop unused allow_html_editor_source_button

This commit is contained in:
djmaze 2021-08-16 18:18:11 +02:00
parent 8498290d93
commit a3dc8ad639
4 changed files with 5 additions and 4 deletions

View file

@ -35,8 +35,7 @@
],
removePlugins: 'liststyle' + (rl.settings.app('allowHtmlEditorBitiButtons') ? '' : ',bidi'),
removeButtons: 'Format,Undo,Redo,Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Image,SelectAll'
+ (rl.settings.app('allowHtmlEditorSourceButton') ? '' : ',Source'),
removeButtons: 'Format,Undo,Redo,Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Image,SelectAll',
removeDialogTabs: 'link:advanced;link:target;image:advanced;images:advanced',
extraPlugins: 'plain,signature',

View file

@ -211,3 +211,7 @@
line-height: 25px;
}
}
.RL-PopupsCompose[data-wysiwyg*=Forced] .cke_button__plain {
display: none;
}

View file

@ -987,7 +987,6 @@ class Actions
'webVersionPath' => Utils::WebVersionPath(),
'token' => $oConfig->Get('security', 'csrf_protection', false) ? Utils::GetCsrfToken() : '',
'inIframe' => (bool)$oConfig->Get('labs', 'in_iframe', false),
'allowHtmlEditorSourceButton' => (bool)$oConfig->Get('labs', 'allow_html_editor_source_button', false),
'allowHtmlEditorBitiButtons' => (bool)$oConfig->Get('labs', 'allow_html_editor_biti_buttons', false),
'allowCtrlEnterOnCompose' => (bool)$oConfig->Get('labs', 'allow_ctrl_enter_on_compose', false),
'hideSubmitButton' => (bool)$oConfig->Get('login', 'hide_submit_button', true),

View file

@ -321,7 +321,6 @@ Enables caching in the system'),
'allow_message_append' => array(false),
'login_fault_delay' => array(1),
'log_ajax_response_write_limit' => array(300),
'allow_html_editor_source_button' => array(false),
'allow_html_editor_biti_buttons' => array(false),
'allow_ctrl_enter_on_compose' => array(true),
'try_to_detect_hidden_images' => array(false),