mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: removing hardcoded target _blank for tinymce file links
This will allow file links to respect content editor input
This commit is contained in:
parent
f79f99f14b
commit
361c9a03fe
@ -626,7 +626,6 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE;
|
|||||||
|
|
||||||
case 'file':
|
case 'file':
|
||||||
href = '[file_link,id=' + this.find('.ss-uploadfield .ss-uploadfield-item').attr('data-fileid') + ']';
|
href = '[file_link,id=' + this.find('.ss-uploadfield .ss-uploadfield-item').attr('data-fileid') + ']';
|
||||||
target = '_blank';
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'email':
|
case 'email':
|
||||||
|
Loading…
Reference in New Issue
Block a user