diff --git a/README.md b/README.md index fed9012..8d7d305 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,11 @@ Custom version of CKEditor5 for the Schulcloud-Verbund-Software-Client npm i @hpi-schul-cloud/ckeditor ``` +## Supported editor modes + +- classic toolbar +- balloon toolbar + ## Built-in plugins - AutoFormat @@ -18,6 +23,8 @@ npm i @hpi-schul-cloud/ckeditor - Heading - Highlight - HorizontalLine +- Image +- ImageInsertViaUrl - Italic - Link - List @@ -32,6 +39,8 @@ npm i @hpi-schul-cloud/ckeditor - TableToolbar - WordCount +Note: the included image plugins only support an image insertion via URL, not via upload + ## Supported languages - de diff --git a/package-lock.json b/package-lock.json index d74eaa5..66e99ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,10 +15,12 @@ "@ckeditor/ckeditor5-dev-translations": "^32.1.2", "@ckeditor/ckeditor5-dev-utils": "^32.1.2", "@ckeditor/ckeditor5-editor-balloon": "^37.1.0", + "@ckeditor/ckeditor5-editor-classic": "^37.1.0", "@ckeditor/ckeditor5-essentials": "^37.1.0", "@ckeditor/ckeditor5-heading": "^37.1.0", "@ckeditor/ckeditor5-highlight": "^37.1.0", "@ckeditor/ckeditor5-horizontal-line": "^37.1.0", + "@ckeditor/ckeditor5-image": "^37.1.0", "@ckeditor/ckeditor5-link": "^37.1.0", "@ckeditor/ckeditor5-list": "^37.1.0", "@ckeditor/ckeditor5-paragraph": "^37.1.0", @@ -422,6 +424,20 @@ "npm": ">=5.7.1" } }, + "node_modules/@ckeditor/ckeditor5-editor-classic": { + "version": "37.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-editor-classic/-/ckeditor5-editor-classic-37.1.0.tgz", + "integrity": "sha512-3XipfINHckd8NITQT9ePdk0+3vytZ567x5qDGCeTgVAKqiFYNaEmuQKir1+D8uQddbrDNolv91XcILN8XHzDWQ==", + "dev": true, + "dependencies": { + "ckeditor5": "^37.1.0", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, "node_modules/@ckeditor/ckeditor5-engine": { "version": "37.1.0", "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-37.1.0.tgz", @@ -503,6 +519,21 @@ "npm": ">=5.7.1" } }, + "node_modules/@ckeditor/ckeditor5-image": { + "version": "37.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-image/-/ckeditor5-image-37.1.0.tgz", + "integrity": "sha512-wIKGfasamPE7MWnIoNIpmWgxlZOz8bxw8ZaLucRdJGaU1+orzQabYcqZM+y+3puAowXs2MIGcA7kSmyJPvL0Jw==", + "dev": true, + "dependencies": { + "@ckeditor/ckeditor5-ui": "^37.1.0", + "ckeditor5": "^37.1.0", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, "node_modules/@ckeditor/ckeditor5-link": { "version": "37.1.0", "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-link/-/ckeditor5-link-37.1.0.tgz", @@ -5112,6 +5143,16 @@ "lodash-es": "^4.17.15" } }, + "@ckeditor/ckeditor5-editor-classic": { + "version": "37.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-editor-classic/-/ckeditor5-editor-classic-37.1.0.tgz", + "integrity": "sha512-3XipfINHckd8NITQT9ePdk0+3vytZ567x5qDGCeTgVAKqiFYNaEmuQKir1+D8uQddbrDNolv91XcILN8XHzDWQ==", + "dev": true, + "requires": { + "ckeditor5": "^37.1.0", + "lodash-es": "^4.17.15" + } + }, "@ckeditor/ckeditor5-engine": { "version": "37.1.0", "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-37.1.0.tgz", @@ -5169,6 +5210,17 @@ "ckeditor5": "^37.1.0" } }, + "@ckeditor/ckeditor5-image": { + "version": "37.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-image/-/ckeditor5-image-37.1.0.tgz", + "integrity": "sha512-wIKGfasamPE7MWnIoNIpmWgxlZOz8bxw8ZaLucRdJGaU1+orzQabYcqZM+y+3puAowXs2MIGcA7kSmyJPvL0Jw==", + "dev": true, + "requires": { + "@ckeditor/ckeditor5-ui": "^37.1.0", + "ckeditor5": "^37.1.0", + "lodash-es": "^4.17.15" + } + }, "@ckeditor/ckeditor5-link": { "version": "37.1.0", "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-link/-/ckeditor5-link-37.1.0.tgz", diff --git a/package.json b/package.json index b4a52e9..98bec2a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hpi-schul-cloud/ckeditor", - "version": "0.4.0", + "version": "1.0.0", "description": "Custom version of CKEditor5 for the Schulcloud-Verbund-Software-Client", "author": "Dataport Schulcloud-Verbund-Software Team", "repository": { @@ -26,10 +26,12 @@ "@ckeditor/ckeditor5-dev-translations": "^32.1.2", "@ckeditor/ckeditor5-dev-utils": "^32.1.2", "@ckeditor/ckeditor5-editor-balloon": "^37.1.0", + "@ckeditor/ckeditor5-editor-classic": "^37.1.0", "@ckeditor/ckeditor5-essentials": "^37.1.0", "@ckeditor/ckeditor5-heading": "^37.1.0", "@ckeditor/ckeditor5-highlight": "^37.1.0", "@ckeditor/ckeditor5-horizontal-line": "^37.1.0", + "@ckeditor/ckeditor5-image": "^37.1.0", "@ckeditor/ckeditor5-link": "^37.1.0", "@ckeditor/ckeditor5-list": "^37.1.0", "@ckeditor/ckeditor5-paragraph": "^37.1.0", diff --git a/sample/index.html b/sample/index.html index 40fd507..92ebae4 100644 --- a/sample/index.html +++ b/sample/index.html @@ -2,7 +2,7 @@ - CKEditor 5 – Editor preview + CKEditor5 – Editor preview