mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
de7b746094
commit
c2841b6d64
@ -241,7 +241,6 @@ class TinyMCEConfig extends HTMLEditorConfig
|
||||
'emoticons' => null,
|
||||
'paste' => null,
|
||||
'code' => null,
|
||||
'link' => null,
|
||||
'importcss' => null,
|
||||
);
|
||||
|
||||
|
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user