浏览代码

Fix image insert

svalavuo 1 月之前
父节点
当前提交
37861ae20a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      admin/edit.php

+ 1 - 1
admin/edit.php

@@ -227,7 +227,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
             
             <div class="gallery-actions">
                 <button class="gallery-upload-btn" onclick="wysiwygEditor.showGalleryTab('upload')">Upload New Image</button>
-                <button class="gallery-insert" id="galleryInsertBtn" disabled onclick="wysiwygEditor.insertSelectedImage()">Insert Image</button>
+                <button class="gallery-insert" id="galleryInsertBtn" disabled onclick="wysiwygEditor.insertSelectedImages()">Insert Image</button>
             </div>
         </div>
     </div>