Skip to content
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.

Commit

Permalink
initial wiki config
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Sep 7, 2019
1 parent 17e061a commit d2b3dce
Show file tree
Hide file tree
Showing 4 changed files with 5,728 additions and 35 deletions.
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"@ckeditor/ckeditor5-core": "^12.3.0",
"@ckeditor/ckeditor5-dev-utils": "^12.0.0",
"@ckeditor/ckeditor5-dev-webpack-plugin": "^8.0.0",
"@ckeditor/ckeditor5-easy-image": "^11.0.5",
"@ckeditor/ckeditor5-editor-decoupled": "^12.2.2",
"@ckeditor/ckeditor5-essentials": "^11.0.5",
"@ckeditor/ckeditor5-font": "^11.2.2",
Expand All @@ -46,8 +45,10 @@
"@ckeditor/ckeditor5-media-embed": "^11.1.4",
"@ckeditor/ckeditor5-paragraph": "^11.0.5",
"@ckeditor/ckeditor5-paste-from-office": "^11.1.0",
"@ckeditor/ckeditor5-remove-format": "^10.0.4",
"@ckeditor/ckeditor5-table": "^14.0.0",
"@ckeditor/ckeditor5-theme-lark": "^14.2.0",
"@ckeditor/ckeditor5-word-count": "^10.0.2",
"eslint": "^5.5.0",
"eslint-config-ckeditor5": "^2.0.0",
"husky": "^1.3.1",
Expand All @@ -73,8 +74,7 @@
},
"scripts": {
"build": "webpack --mode production",
"lint": "eslint --quiet '**/*.js'",
"preversion": "npm run build; if [ -n \"$(git status src/ckeditor.js build/ --porcelain)\" ]; then git add -u src/ckeditor.js build/ && git commit -m 'Internal: Build.'; fi"
"lint": "eslint --quiet '**/*.js'"
},
"lint-staged": {
"**/*.js": [
Expand Down
10 changes: 7 additions & 3 deletions src/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import Strikethrough from '@ckeditor/ckeditor5-basic-styles/src/strikethrough';
import Underline from '@ckeditor/ckeditor5-basic-styles/src/underline';
import BlockQuote from '@ckeditor/ckeditor5-block-quote/src/blockquote';
import CKFinder from '@ckeditor/ckeditor5-ckfinder/src/ckfinder';
import EasyImage from '@ckeditor/ckeditor5-easy-image/src/easyimage';
import Heading from '@ckeditor/ckeditor5-heading/src/heading';
import Image from '@ckeditor/ckeditor5-image/src/image';
import ImageCaption from '@ckeditor/ckeditor5-image/src/imagecaption';
Expand All @@ -31,8 +30,10 @@ import List from '@ckeditor/ckeditor5-list/src/list';
import MediaEmbed from '@ckeditor/ckeditor5-media-embed/src/mediaembed';
import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph';
import PasteFromOffice from '@ckeditor/ckeditor5-paste-from-office/src/pastefromoffice';
import RemoveFormat from '@ckeditor/ckeditor5-remove-format/src/removeformat';
import Table from '@ckeditor/ckeditor5-table/src/table';
import TableToolbar from '@ckeditor/ckeditor5-table/src/tabletoolbar';
import WordCount from '@ckeditor/ckeditor5-word-count/src/wordcount';

export default class DecoupledEditor extends DecoupledEditorBase {}

Expand All @@ -51,7 +52,6 @@ DecoupledEditor.builtinPlugins = [
Underline,
BlockQuote,
CKFinder,
EasyImage,
Heading,
Image,
ImageCaption,
Expand All @@ -63,8 +63,10 @@ DecoupledEditor.builtinPlugins = [
MediaEmbed,
Paragraph,
PasteFromOffice,
RemoveFormat,
Table,
TableToolbar
TableToolbar,
WordCount
];

// Editor configuration.
Expand Down Expand Up @@ -93,6 +95,8 @@ DecoupledEditor.defaultConfig = {
'insertTable',
'mediaEmbed',
'|',
'removeFormat',
'|',
'undo',
'redo'
]
Expand Down
Loading

0 comments on commit d2b3dce

Please sign in to comment.