Skip to content

Commit b7cfdc3

Browse files
committed
Bumped ckeditor to v48 and removed ckeditor-dev-utils, as they are no longer needed
This removes also many transitive dependencies
1 parent 45ed095 commit b7cfdc3

3 files changed

Lines changed: 795 additions & 2580 deletions

File tree

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
"@algolia/autocomplete-js": "^1.17.0",
3737
"@algolia/autocomplete-plugin-recent-searches": "^1.17.0",
3838
"@algolia/autocomplete-theme-classic": "^1.17.0",
39-
"@ckeditor/ckeditor5-dev-translations": "^53",
40-
"@ckeditor/ckeditor5-dev-utils": "^53",
4139
"@jbtronics/bs-treeview": "^1.0.1",
4240
"@part-db/html5-qrcode": "^4.0.0",
4341
"@zxcvbn-ts/core": "^3.0.2",
@@ -51,7 +49,7 @@
5149
"bootbox": "^6.0.0",
5250
"bootswatch": "^5.1.3",
5351
"bs-custom-file-input": "^1.3.4",
54-
"ckeditor5": "^47.0.0",
52+
"ckeditor5": "^48.0.0",
5553
"clipboard": "^2.0.4",
5654
"compression-webpack-plugin": "^11.1.0",
5755
"datatables.net": "^2.0.0",

webpack.config.js

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ var Encore = require('@symfony/webpack-encore');
2424
const zlib = require('zlib');
2525
const CompressionPlugin = require("compression-webpack-plugin");
2626
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
27-
const { CKEditorTranslationsPlugin } = require( '@ckeditor/ckeditor5-dev-translations' );
28-
const { styles } = require( '@ckeditor/ckeditor5-dev-utils' );
2927

3028
// Manually configure the runtime environment if not already configured yet by the "encore" command.
3129
// It's useful when you use tools that rely on webpack.config.js file.
@@ -123,13 +121,6 @@ Encore
123121
// uncomment if you're having problems with a jQuery plugin
124122
.autoProvidejQuery()
125123

126-
.addPlugin( new CKEditorTranslationsPlugin( {
127-
// See https://ckeditor.com/docs/ckeditor5/latest/features/ui-language.html
128-
language: 'en',
129-
addMainLanguageTranslationsToAllAssets: true,
130-
additionalLanguages: 'all',
131-
outputDirectory: 'ckeditor_translations'
132-
} ) )
133124

134125
// Use raw-loader for CKEditor 5 SVG files.
135126
.addRule( {
@@ -142,19 +133,6 @@ Encore
142133
loader.exclude = /ckeditor5-[^/\\]+[/\\]theme[/\\]icons[/\\][^/\\]+\.svg$/;
143134
} )
144135

145-
// Configure PostCSS loader.
146-
.addLoader({
147-
test: /ckeditor5-[^/\\]+[/\\]theme[/\\].+\.css$/,
148-
loader: 'postcss-loader',
149-
options: {
150-
postcssOptions: styles.getPostCssConfig( {
151-
themeImporter: {
152-
themePath: require.resolve( '@ckeditor/ckeditor5-theme-lark' )
153-
},
154-
minify: true
155-
} )
156-
}
157-
} )
158136

159137
;
160138

0 commit comments

Comments
 (0)