Selaa lähdekoodia

add Clipboard addon

Andrey Titovskiy 3 vuotta sitten
vanhempi
commit
74784a5130
4 muutettua tiedostoa jossa 7 lisäystä ja 4 poistoa
  1. 1 1
      build/ckeditor.js
  2. 1 1
      build/ckeditor.js.map
  3. 3 2
      package.json
  4. 2 0
      src/ckeditor.js

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 1 - 1
build/ckeditor.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 1 - 1
build/ckeditor.js.map


+ 3 - 2
package.json

@@ -26,11 +26,12 @@
   ],
   "devDependencies": {
     "@ckeditor/ckeditor5-adapter-ckfinder": "^28.0.0",
-    "@ckeditor/ckeditor5-autoformat": "^28.0.0",
     "@ckeditor/ckeditor5-alignment": "^28.0.0",
+    "@ckeditor/ckeditor5-autoformat": "^28.0.0",
     "@ckeditor/ckeditor5-basic-styles": "^28.0.0",
     "@ckeditor/ckeditor5-block-quote": "^28.0.0",
     "@ckeditor/ckeditor5-ckfinder": "^28.0.0",
+    "@ckeditor/ckeditor5-clipboard": "^28.0.0",
     "@ckeditor/ckeditor5-dev-utils": "^24.0.2",
     "@ckeditor/ckeditor5-dev-webpack-plugin": "^24.0.2",
     "@ckeditor/ckeditor5-easy-image": "^28.0.0",
@@ -48,8 +49,8 @@
     "@ckeditor/ckeditor5-paste-from-office": "^28.0.0",
     "@ckeditor/ckeditor5-remove-format": "^28.0.0",
     "@ckeditor/ckeditor5-table": "^28.0.0",
-    "@ckeditor/ckeditor5-typing": "^28.0.0",
     "@ckeditor/ckeditor5-theme-lark": "^28.0.0",
+    "@ckeditor/ckeditor5-typing": "^28.0.0",
     "postcss-loader": "^3.0.0",
     "raw-loader": "^4.0.1",
     "style-loader": "^1.2.1",

+ 2 - 0
src/ckeditor.js

@@ -33,6 +33,7 @@ import Underline from "@ckeditor/ckeditor5-basic-styles/src/underline";
 import FontColor from '@ckeditor/ckeditor5-font/src/fontcolor';
 import FontBackgroundColor from '@ckeditor/ckeditor5-font/src/fontbackgroundcolor';
 import Alignment from '@ckeditor/ckeditor5-alignment/src/alignment';
+import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
 
 export default class ClassicEditor extends ClassicEditorBase {
 }
@@ -43,6 +44,7 @@ ClassicEditor.builtinPlugins = [
 	UploadAdapter,
 	Autoformat,
 	Bold,
+	Clipboard,
 	Italic,
 	Underline,
 	Strikethrough,