Disable image/media plugins in TinyMCE editor when editing a note
This commit is contained in:
parent
9146b9dd42
commit
c2e8725352
1 changed files with 2 additions and 1 deletions
|
@ -396,7 +396,8 @@ function rcube_kolab_notes_ui(settings)
|
|||
}
|
||||
|
||||
// initialize HTML editor
|
||||
rcmail.editor_init(rcmail.env.editor_config, 'notecontent');
|
||||
var config = $.extend(rcmail.env.editor_config, {disabled_plugins: ['image', 'media']});
|
||||
rcmail.editor_init(config, 'notecontent');
|
||||
|
||||
// register click handler for message links
|
||||
$(rcmail.gui_objects.notesattachmentslist).on('click', 'li a.messagelink', function() {
|
||||
|
|
Loading…
Add table
Reference in a new issue