Skip to content

Commit

Permalink
BC-4383 - editor mvp (#12)
Browse files Browse the repository at this point in the history
* Remove font plugin

* Remove underline feature
  • Loading branch information
christian-darsow authored Jul 6, 2023
1 parent 0e3b7b7 commit a87ee7f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 36 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ npm i @hpi-schul-cloud/ckeditor
- Bold
- Code
- Essentials
- FontBackgroundColor
- Heading
- Highlight
- HorizontalLine
Expand All @@ -31,7 +30,6 @@ npm i @hpi-schul-cloud/ckeditor
- Superscript
- Table
- TableToolbar
- Underline
- WordCount

## Supported languages
Expand Down
27 changes: 2 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hpi-schul-cloud/ckeditor",
"version": "0.3.3",
"version": "0.4.0",
"description": "Custom version of CKEditor5 for the Schulcloud-Verbund-Software-Client",
"author": "Dataport Schulcloud-Verbund-Software Team",
"repository": {
Expand All @@ -27,7 +27,6 @@
"@ckeditor/ckeditor5-dev-utils": "^32.1.2",
"@ckeditor/ckeditor5-editor-balloon": "^37.1.0",
"@ckeditor/ckeditor5-essentials": "^37.1.0",
"@ckeditor/ckeditor5-font": "^37.1.0",
"@ckeditor/ckeditor5-heading": "^37.1.0",
"@ckeditor/ckeditor5-highlight": "^37.1.0",
"@ckeditor/ckeditor5-horizontal-line": "^37.1.0",
Expand All @@ -42,9 +41,9 @@
"@ckeditor/ckeditor5-word-count": "^37.1.0",
"@isaul32/ckeditor5-math": "^37.1.0",
"css-loader": "^5.2.7",
"mini-css-extract-plugin": "^2.7.5",
"postcss": "^8.4.22",
"postcss-loader": "^4.3.0",
"mini-css-extract-plugin": "^2.7.5",
"raw-loader": "^4.0.2",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^4.2.3",
Expand Down
6 changes: 0 additions & 6 deletions src/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import BlockQuote from "@ckeditor/ckeditor5-block-quote/src/blockquote.js";
import Bold from "@ckeditor/ckeditor5-basic-styles/src/bold.js";
import Code from "@ckeditor/ckeditor5-basic-styles/src/code.js";
import Essentials from "@ckeditor/ckeditor5-essentials/src/essentials.js";
import FontBackgroundColor from "@ckeditor/ckeditor5-font/src/font.js";
import Heading from "@ckeditor/ckeditor5-heading/src/heading.js";
import Highlight from "@ckeditor/ckeditor5-highlight/src/highlight.js";
import HorizontalLine from "@ckeditor/ckeditor5-horizontal-line/src/horizontalline.js";
Expand All @@ -21,7 +20,6 @@ import Subscript from "@ckeditor/ckeditor5-basic-styles/src/subscript.js";
import Superscript from "@ckeditor/ckeditor5-basic-styles/src/superscript.js";
import Table from "@ckeditor/ckeditor5-table/src/table.js";
import TableToolbar from "@ckeditor/ckeditor5-table/src/tabletoolbar.js";
import Underline from "@ckeditor/ckeditor5-basic-styles/src/underline.js";
import WordCount from "@ckeditor/ckeditor5-word-count/src/wordcount.js";
import addMissingTranslationsDe from "./locales/de";
import addMissingTranslationsEn from "./locales/en";
Expand All @@ -40,7 +38,6 @@ Editor.builtinPlugins = [
Bold,
Code,
Essentials,
FontBackgroundColor,
Heading,
Highlight,
HorizontalLine,
Expand All @@ -57,7 +54,6 @@ Editor.builtinPlugins = [
Superscript,
Table,
TableToolbar,
Underline,
WordCount,
];

Expand All @@ -71,10 +67,8 @@ Editor.defaultConfig = {
"|",
"bold",
"italic",
"underline",
"strikethrough",
"highlight",
"fontBackgroundColor",
"code",
"superscript",
"subscript",
Expand Down

0 comments on commit a87ee7f

Please sign in to comment.