mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fix image_link editor component popup loading even if image_link component is disabled
This commit is contained in:
parent
e3541c046b
commit
78d1b6966a
2 changed files with 3 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ CKEDITOR.plugins.add('xe_component', {
|
|||
}
|
||||
|
||||
if(!element) element = evt.data.element;
|
||||
if(!editor_component && element && element.is('img')) {
|
||||
if(!editor_component && element && element.is('img') && typeof config.xe_component_arrays.image_link !== 'undefined') {
|
||||
editor_component = 'image_link';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue