Explorar el Código

feature 1001713

增加鼠标右键复制粘贴功能
Kevin Jiang hace 2 años
padre
commit
40c113832a
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/views/report/components/ContentEditor.vue

+ 3 - 1
src/views/report/components/ContentEditor.vue

@@ -15,6 +15,7 @@ const toolbar = [
   'undo redo',
   'blocks',
   'bold italic',
+  'copy paste',
   'alignleft aligncenter alignright alignjustify',
   // 'indent outdent',
   'table',
@@ -26,7 +27,8 @@ const editInit = {
   language: 'zh_CN',
   skin: 'small',
   icons: 'small',
-  plugins: 'lists link image table code help wordcount fullscreen',
+  plugins: 'lists link paste selectall image table code help wordcount fullscreen',
+  contextmenu: 'copy paste selectall',
   toolbar: toolbar.join(' | '),
   menubar: false,
   branding: false,