소스 검색

富文本编辑器增加选择服务器图片

tags/6.1.2
tianya 3 년 전
부모
커밋
c243c4de33
3개의 변경된 파일1289개의 추가작업 그리고 44개의 파일을 삭제
  1. +4
    -0
      src/admin/dialog/select_images.php
  2. +1
    -44
      src/static/ckeditor/plugins/image/dialogs/image.js
  3. +1284
    -0
      src/static/ckeditor/plugins/image/dialogs/image.source.js

+ 4
- 0
src/admin/dialog/select_images.php 파일 보기

@@ -100,6 +100,10 @@ a{text-decoration:none!important}
var fileUrl = reimg;
window.opener.CKEDITOR.tools.callFunction(funcNum, fileUrl);
}
if (window.opener.CKEDITOR.instances.<?php echo $f ?>) {
let addonHTML = `<img src='${reimg}'>`;
window.opener.CKEDITOR.instances["<?php echo $f ?>"].insertHtml(addonHTML);
}
if (window.opener.document.<?php echo $f ?> != null) {
window.opener.document.<?php echo $f ?>.value = reimg;
if (window.opener.document.getElementById('div<?php echo $v ?>')) {


+ 1
- 44
src/static/ckeditor/plugins/image/dialogs/image.js
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 1284
- 0
src/static/ckeditor/plugins/image/dialogs/image.source.js
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


불러오는 중...
취소
저장