Enhancement Remove "Remove link" button from the editor's main toolbar

Fix behat for selecting link should focus on field
This commit is contained in:
Saophalkun Ponlu 2017-05-19 10:34:45 +12:00 committed by Christopher Joe
parent de7b746094
commit c2841b6d64
2 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,6 @@ class TinyMCEConfig extends HTMLEditorConfig
'emoticons' => null,
'paste' => null,
'code' => null,
'link' => null,
'importcss' => null,
);

View File

@ -180,6 +180,7 @@ var editor = jQuery('#$inputFieldId').entwine('ss').getEditor(),
rng = document.createRange(),
matched = false;
editor.getInstance().focus();
jQuery(doc).find('body *').each(function() {
if(!matched) {
for(var i=0;i<this.childNodes.length;i++) {