mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-21 04:41:23 +08:00
Converted image manager into vue component
This commit is contained in:
@ -383,7 +383,7 @@ module.exports = function (ngApp, events) {
|
||||
// Show the image manager and handle image insertion
|
||||
function showImageManager() {
|
||||
let cursorPos = cm.getCursor('from');
|
||||
window.ImageManager.showExternal(image => {
|
||||
window.ImageManager.show(image => {
|
||||
let selectedText = cm.getSelection();
|
||||
let newText = "";
|
||||
cm.focus();
|
||||
|
Reference in New Issue
Block a user