소스 검색

feature 1001713

增加鼠标右键复制粘贴功能
Kevin Jiang 2 년 전
부모
커밋
40c113832a
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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,