mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-28 19:06:39 +08:00
Updated secure-images option to not effect image name
Instead only the image path is altered. Also fixed image manger mode not changing on button press.
This commit is contained in:
@ -547,7 +547,7 @@ class WysiwygEditor {
|
||||
html += `<img src="${image.thumbs.display}" alt="${image.name}">`;
|
||||
html += '</a>';
|
||||
editor.execCommand('mceInsertContent', false, html);
|
||||
});
|
||||
}, 'gallery');
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user