qifengquan 1 ano atrás
pai
commit
02b2b3c171
1 arquivos alterados com 116 adições e 116 exclusões
  1. 116 116
      application/admin/view/document/index/add.html

+ 116 - 116
application/admin/view/document/index/add.html

@@ -69,123 +69,123 @@
         </div>
     </div>
 </form>
-<script src="../../../../../ckeditor5/packages/ckeditor5-build-classic/build/translations/zh-cn.js"></script>
-<script src="../../../../../ckeditor5/packages/ckeditor5-build-classic/build/ckeditor.js"></script>
-<!--<script type="module">    import { ImportWord } from '../../../../../ckeditor5/packages/ckeditorckeditor5-import-word/package.json';</script>-->
-<script type="module">
-    // import { ImportWord } from '../../../../../ckeditor5/packages/ckeditor5-build-classic/node_modules/@ckeditor/ckeditor5-import-word';
-    var editor
+<!--<script src="../../../../../ckeditor5/packages/ckeditor5-build-classic/build/translations/zh-cn.js"></script>-->
+<!--<script src="../../../../../ckeditor5/packages/ckeditor5-build-classic/build/ckeditor.js"></script>-->
+<!--&lt;!&ndash;<script type="module">    import { ImportWord } from '../../../../../ckeditor5/packages/ckeditorckeditor5-import-word/package.json';</script>&ndash;&gt;-->
+<!--<script type="module">-->
+<!--    // import { ImportWord } from '../../../../../ckeditor5/packages/ckeditor5-build-classic/node_modules/@ckeditor/ckeditor5-import-word';-->
+<!--    var editor-->
 
-    ClassicEditor.create( document.querySelector( 'textarea' ),{
-        // plugins: [ ImportWord, /* ... */ ],
-        // importWord: {
-        //     tokenUrl: 'https://98165.cke-cs.com/token/dev/8b7e0fb5d4569ec900b74e38f318447763b92a20980d7a4c0fcda5dfd2b4?limit=10'
-        // },
-        ckfinder: {
-            uploadUrl: ' ../../../../../api/common/editor_upload?command=QuickUpload&type=Files&responseType=json',
-        },
-        fontSize: {
-            options: [
-                9,
-                11,
-                13,
-                'default',
-                17,
-                19,
-                21,
-                26,
-                32,
-                40
-            ]
-        },
-        toolbar: {
-            items: [
-                // 'importWord',
-                'FontSize','FontColor','FontBackgroundColor','FontFamily','highlight','|',
-                'sourceEditing',
-                '|','undo','redo',
-                '|','heading',
-                '|','findandReplace','alignment','bold','italic','underline','code',
-                'horizontalLine','removeformat','link','strikethrough','subscript','superscript','blockQuote','specialCharacters',
-                '|','numberedList','bulletedList','todoList','outdent','indent','pageBreak',
-                '|','insertImage','cKFinder','insertTable','mediaEmbed',
+<!--    ClassicEditor.create( document.querySelector( 'textarea' ),{-->
+<!--        // plugins: [ ImportWord, /* ... */ ],-->
+<!--        // importWord: {-->
+<!--        //     tokenUrl: 'https://98165.cke-cs.com/token/dev/8b7e0fb5d4569ec900b74e38f318447763b92a20980d7a4c0fcda5dfd2b4?limit=10'-->
+<!--        // },-->
+<!--        ckfinder: {-->
+<!--            uploadUrl: ' ../../../../../api/common/editor_upload?command=QuickUpload&type=Files&responseType=json',-->
+<!--        },-->
+<!--        fontSize: {-->
+<!--            options: [-->
+<!--                9,-->
+<!--                11,-->
+<!--                13,-->
+<!--                'default',-->
+<!--                17,-->
+<!--                19,-->
+<!--                21,-->
+<!--                26,-->
+<!--                32,-->
+<!--                40-->
+<!--            ]-->
+<!--        },-->
+<!--        toolbar: {-->
+<!--            items: [-->
+<!--                // 'importWord',-->
+<!--                'FontSize','FontColor','FontBackgroundColor','FontFamily','highlight','|',-->
+<!--                'sourceEditing',-->
+<!--                '|','undo','redo',-->
+<!--                '|','heading',-->
+<!--                '|','findandReplace','alignment','bold','italic','underline','code',-->
+<!--                'horizontalLine','removeformat','link','strikethrough','subscript','superscript','blockQuote','specialCharacters',-->
+<!--                '|','numberedList','bulletedList','todoList','outdent','indent','pageBreak',-->
+<!--                '|','insertImage','cKFinder','insertTable','mediaEmbed',-->
 
-            ]
-        },
-        //设置字体
-        fontFamily: {
-            options: [
-                'default',
-                'Blackoak Std',
-                '宋体,SimSun',
-                '新宋体,NSimSun',
-                '微软雅黑,Microsoft YaHei',
-                '楷体_GB2312,KaiTi_GB2312',
-                '隶书,LiSu',
-                '幼园,YouYuan',
-                '华文细黑,STXihei',
-            ]
-        },
-        image: {
+<!--            ]-->
+<!--        },-->
+<!--        //设置字体-->
+<!--        fontFamily: {-->
+<!--            options: [-->
+<!--                'default',-->
+<!--                'Blackoak Std',-->
+<!--                '宋体,SimSun',-->
+<!--                '新宋体,NSimSun',-->
+<!--                '微软雅黑,Microsoft YaHei',-->
+<!--                '楷体_GB2312,KaiTi_GB2312',-->
+<!--                '隶书,LiSu',-->
+<!--                '幼园,YouYuan',-->
+<!--                '华文细黑,STXihei',-->
+<!--            ]-->
+<!--        },-->
+<!--        image: {-->
 
-            styles: [
-                'full','alignLeft', 'alignCenter', 'alignRight'
-            ],
-            resizeOptions: [
-                {
-                    name: 'resizeImage:原尺寸',
-                    label: '原尺寸',
-                    value: null
-                },
-                {
-                    name: 'resizeImage:25',
-                    label: '25%',
-                    value: '25'
-                },
-                {
-                    name: 'resizeImage:50',
-                    label: '50%',
-                    value: '50'
-                },
-                {
-                    name: 'resizeImage:75',
-                    label: '75%',
-                    value: '75'
-                }
-            ],
-            toolbar: [
-                // 'imageStyle:full',
-                // 'imageStyle:side',
-                'imageStyle:alignLeft',
-                'imageStyle:alignCenter',
-                'imageStyle:alignRight',
-                '|',
-                'resizeImage',
-                '|',
-                'toggleImageCaption',
-                'imageTextAlternative',
-                'linkImage'
-            ],
+<!--            styles: [-->
+<!--                'full','alignLeft', 'alignCenter', 'alignRight'-->
+<!--            ],-->
+<!--            resizeOptions: [-->
+<!--                {-->
+<!--                    name: 'resizeImage:原尺寸',-->
+<!--                    label: '原尺寸',-->
+<!--                    value: null-->
+<!--                },-->
+<!--                {-->
+<!--                    name: 'resizeImage:25',-->
+<!--                    label: '25%',-->
+<!--                    value: '25'-->
+<!--                },-->
+<!--                {-->
+<!--                    name: 'resizeImage:50',-->
+<!--                    label: '50%',-->
+<!--                    value: '50'-->
+<!--                },-->
+<!--                {-->
+<!--                    name: 'resizeImage:75',-->
+<!--                    label: '75%',-->
+<!--                    value: '75'-->
+<!--                }-->
+<!--            ],-->
+<!--            toolbar: [-->
+<!--                // 'imageStyle:full',-->
+<!--                // 'imageStyle:side',-->
+<!--                'imageStyle:alignLeft',-->
+<!--                'imageStyle:alignCenter',-->
+<!--                'imageStyle:alignRight',-->
+<!--                '|',-->
+<!--                'resizeImage',-->
+<!--                '|',-->
+<!--                'toggleImageCaption',-->
+<!--                'imageTextAlternative',-->
+<!--                'linkImage'-->
+<!--            ],-->
 
-        },
-        table: {
-            contentToolbar: [
-                'tableColumn',
-                'tableRow',
-                'mergeTableCells',
-                'tableCellProperties',
-                'tableProperties'
-            ]
-        },
-        language: 'zh-cn'
-    } )
-        .then( editor => {
-            window.editor = editor;
-            // editor.execute('fontSize', { value: '15px' });  //字体大小设置
-            // editor.execute('alignment', { value: 'left' });  //字体左右中对齐
-        } )
-        .catch( error => {
-            console.error( 'There was a problem initializing the editor.', error );
-        } );
-    // editor.setData( 123 );
-</script>
+<!--        },-->
+<!--        table: {-->
+<!--            contentToolbar: [-->
+<!--                'tableColumn',-->
+<!--                'tableRow',-->
+<!--                'mergeTableCells',-->
+<!--                'tableCellProperties',-->
+<!--                'tableProperties'-->
+<!--            ]-->
+<!--        },-->
+<!--        language: 'zh-cn'-->
+<!--    } )-->
+<!--        .then( editor => {-->
+<!--            window.editor = editor;-->
+<!--            // editor.execute('fontSize', { value: '15px' });  //字体大小设置-->
+<!--            // editor.execute('alignment', { value: 'left' });  //字体左右中对齐-->
+<!--        } )-->
+<!--        .catch( error => {-->
+<!--            console.error( 'There was a problem initializing the editor.', error );-->
+<!--        } );-->
+<!--    // editor.setData( 123 );-->
+<!--</script>-->