Andrey Titovskiy 3 anni fa
parent
commit
20e3069f86
65 ha cambiato i file con 714 aggiunte e 917 eliminazioni
  1. 1 1
      build/ckeditor.js
  2. 1 1
      build/ckeditor.js.map
  3. 1 1
      build/translations/af.js
  4. 1 1
      build/translations/ar.js
  5. 1 1
      build/translations/ast.js
  6. 1 1
      build/translations/az.js
  7. 1 1
      build/translations/bg.js
  8. 1 1
      build/translations/ca.js
  9. 1 1
      build/translations/cs.js
  10. 1 1
      build/translations/da.js
  11. 1 1
      build/translations/de-ch.js
  12. 1 1
      build/translations/de.js
  13. 1 1
      build/translations/el.js
  14. 1 1
      build/translations/en-au.js
  15. 1 1
      build/translations/en-gb.js
  16. 1 1
      build/translations/eo.js
  17. 1 1
      build/translations/es.js
  18. 1 1
      build/translations/et.js
  19. 1 1
      build/translations/eu.js
  20. 1 1
      build/translations/fa.js
  21. 1 1
      build/translations/fi.js
  22. 1 1
      build/translations/fr.js
  23. 1 1
      build/translations/gl.js
  24. 1 1
      build/translations/he.js
  25. 1 1
      build/translations/hi.js
  26. 1 1
      build/translations/hr.js
  27. 1 1
      build/translations/hu.js
  28. 1 1
      build/translations/id.js
  29. 1 1
      build/translations/it.js
  30. 1 1
      build/translations/ja.js
  31. 1 1
      build/translations/km.js
  32. 1 1
      build/translations/kn.js
  33. 1 1
      build/translations/ko.js
  34. 1 1
      build/translations/ku.js
  35. 1 1
      build/translations/lt.js
  36. 1 1
      build/translations/lv.js
  37. 1 1
      build/translations/nb.js
  38. 1 1
      build/translations/ne.js
  39. 1 1
      build/translations/nl.js
  40. 1 1
      build/translations/no.js
  41. 1 1
      build/translations/oc.js
  42. 1 1
      build/translations/pl.js
  43. 1 1
      build/translations/pt-br.js
  44. 1 1
      build/translations/pt.js
  45. 1 1
      build/translations/ro.js
  46. 1 1
      build/translations/ru.js
  47. 1 1
      build/translations/si.js
  48. 1 1
      build/translations/sk.js
  49. 1 1
      build/translations/sq.js
  50. 1 1
      build/translations/sr-latn.js
  51. 1 1
      build/translations/sr.js
  52. 1 1
      build/translations/sv.js
  53. 1 1
      build/translations/th.js
  54. 1 1
      build/translations/tk.js
  55. 1 1
      build/translations/tr.js
  56. 1 1
      build/translations/tt.js
  57. 1 1
      build/translations/ug.js
  58. 1 1
      build/translations/uk.js
  59. 0 1
      build/translations/uz.js
  60. 1 1
      build/translations/vi.js
  61. 1 1
      build/translations/zh-cn.js
  62. 1 1
      build/translations/zh.js
  63. 31 33
      package.json
  64. 87 91
      webpack.config.js
  65. 535 731
      yarn.lock

File diff suppressed because it is too large
+ 1 - 1
build/ckeditor.js


File diff suppressed because it is too large
+ 1 - 1
build/ckeditor.js.map


File diff suppressed because it is too large
+ 1 - 1
build/translations/af.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/ar.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/ast.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/az.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/bg.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/ca.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/cs.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/da.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/de-ch.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/de.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/el.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/en-au.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/en-gb.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/eo.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/es.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/et.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/eu.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/fa.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/fi.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/fr.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/gl.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/he.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/hi.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/hr.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/hu.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/id.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/it.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/ja.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/km.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/kn.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/ko.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/ku.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/lt.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/lv.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/nb.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/ne.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/nl.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/no.js


+ 1 - 1
build/translations/oc.js

@@ -1 +1 @@
-!function(r){const o=r.oc=r.oc||{};o.dictionary=Object.assign(o.dictionary||{},{"%0 of %1":"",Bold:"Gras",Cancel:"Anullar",Italic:"Italica","Remove color":"",Save:"Enregistrar","Show more items":"",Strikethrough:"",Subscript:"",Superscript:"",Underline:""}),o.getPluralForm=function(r){return r>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
+!function(r){const i=r.oc=r.oc||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Gras",Cancel:"Anullar",Italic:"Italica","Remove color":"",Save:"Enregistrar",Strikethrough:"",Subscript:"",Superscript:"",Underline:""}),i.getPluralForm=function(r){return r>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));

File diff suppressed because it is too large
+ 1 - 1
build/translations/pl.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/pt-br.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/pt.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/ro.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/ru.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/si.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/sk.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/sq.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/sr-latn.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/sr.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/sv.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/th.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/tk.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/tr.js


+ 1 - 1
build/translations/tt.js

@@ -1 +1 @@
-!function(o){const t=o.tt=o.tt||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"",Bold:"Калын",Cancel:"",Italic:"",Redo:"Кабатла","Remove color":"",Save:"Сакла","Show more items":"",Strikethrough:"",Subscript:"",Superscript:"",Underline:"",Undo:""}),t.getPluralForm=function(o){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
+!function(t){const n=t.tt=t.tt||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Калын",Cancel:"",Italic:"",Redo:"Кабатла","Remove color":"",Save:"Сакла",Strikethrough:"",Subscript:"",Superscript:"",Underline:"",Undo:""}),n.getPluralForm=function(t){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));

File diff suppressed because it is too large
+ 1 - 1
build/translations/ug.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/uk.js


File diff suppressed because it is too large
+ 0 - 1
build/translations/uz.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/vi.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/zh-cn.js


File diff suppressed because it is too large
+ 1 - 1
build/translations/zh.js


+ 31 - 33
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@ckeditor/ckeditor5-build-classic",
-  "version": "31.1.0",
+  "version": "28.0.0",
   "description": "The classic editor build of CKEditor 5 – the best browser-based rich text editor.",
   "keywords": [
     "ckeditor5-build",
@@ -25,39 +25,37 @@
     "build"
   ],
   "devDependencies": {
-    "@ckeditor/ckeditor5-adapter-ckfinder": "^31.1.0",
-    "@ckeditor/ckeditor5-autoformat": "^31.1.0",
-    "@ckeditor/ckeditor5-alignment": "^31.1.0",
-    "@ckeditor/ckeditor5-basic-styles": "^31.1.0",
-    "@ckeditor/ckeditor5-block-quote": "^31.1.0",
-    "@ckeditor/ckeditor5-ckfinder": "^31.1.0",
-    "@ckeditor/ckeditor5-dev-utils": "^25.0.0",
+    "@ckeditor/ckeditor5-adapter-ckfinder": "^28.0.0",
+    "@ckeditor/ckeditor5-autoformat": "^28.0.0",
+    "@ckeditor/ckeditor5-alignment": "^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-dev-utils": "^24.0.2",
     "@ckeditor/ckeditor5-dev-webpack-plugin": "^24.0.2",
-    "@ckeditor/ckeditor5-easy-image": "^31.1.0",
-    "@ckeditor/ckeditor5-editor-classic": "^31.0.0",
-    "@ckeditor/ckeditor5-essentials": "^31.0.0",
-    "@ckeditor/ckeditor5-font": "^31.1.0",
-    "@ckeditor/ckeditor5-heading": "^31.0.0",
-    "@ckeditor/ckeditor5-html-embed": "^31.0.0",
-    "@ckeditor/ckeditor5-image": "^31.0.0",
-    "@ckeditor/ckeditor5-indent": "^31.0.0",
-    "@ckeditor/ckeditor5-link": "^31.0.0",
-    "@ckeditor/ckeditor5-list": "^31.0.0",
-    "@ckeditor/ckeditor5-media-embed": "^31.0.0",
-    "@ckeditor/ckeditor5-paragraph": "^31.0.0",
-    "@ckeditor/ckeditor5-paste-from-office": "^31.0.0",
-    "@ckeditor/ckeditor5-remove-format": "^31.0.0",
-    "@ckeditor/ckeditor5-table": "^31.0.0",
-    "@ckeditor/ckeditor5-typing": "^31.0.0",
-    "@ckeditor/ckeditor5-theme-lark": "^31.0.0",
-    "css-loader": "^5.0.1",
-    "postcss": "^8.2.4",
-    "postcss-loader": "^4.2.0",
-    "raw-loader": "^4.0.2",
-    "style-loader": "^2.0.0",
-    "terser-webpack-plugin": "^4.2.3",
-    "webpack": "^4.46.0",
-    "webpack-cli": "^4.4.0"
+    "@ckeditor/ckeditor5-easy-image": "^28.0.0",
+    "@ckeditor/ckeditor5-editor-classic": "^28.0.0",
+    "@ckeditor/ckeditor5-essentials": "^28.0.0",
+    "@ckeditor/ckeditor5-font": "^28.0.0",
+    "@ckeditor/ckeditor5-heading": "^28.0.0",
+    "@ckeditor/ckeditor5-html-embed": "^28.0.0",
+    "@ckeditor/ckeditor5-image": "^28.0.0",
+    "@ckeditor/ckeditor5-indent": "^28.0.0",
+    "@ckeditor/ckeditor5-link": "^28.0.0",
+    "@ckeditor/ckeditor5-list": "^28.0.0",
+    "@ckeditor/ckeditor5-media-embed": "^28.0.0",
+    "@ckeditor/ckeditor5-paragraph": "^28.0.0",
+    "@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",
+    "postcss-loader": "^3.0.0",
+    "raw-loader": "^4.0.1",
+    "style-loader": "^1.2.1",
+    "terser-webpack-plugin": "^3.0.2",
+    "webpack": "^4.43.0",
+    "webpack-cli": "^3.3.11"
   },
   "engines": {
     "node": ">=12.0.0",

+ 87 - 91
webpack.config.js

@@ -1,96 +1,92 @@
 /**
- * @license Copyright (c) 2014-2021, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  */
 
-'use strict';
+ 'use strict';
 
-/* eslint-env node */
-
-const path = require( 'path' );
-const webpack = require( 'webpack' );
-const { bundler, styles } = require( '@ckeditor/ckeditor5-dev-utils' );
-const CKEditorWebpackPlugin = require( '@ckeditor/ckeditor5-dev-webpack-plugin' );
-const TerserWebpackPlugin = require( 'terser-webpack-plugin' );
-
-module.exports = {
-	devtool: 'source-map',
-	performance: { hints: false },
-
-	entry: path.resolve( __dirname, 'src', 'ckeditor.js' ),
-
-	output: {
-		// The name under which the editor will be exported.
-		library: 'ClassicEditor',
-
-		path: path.resolve( __dirname, 'build' ),
-		filename: 'ckeditor.js',
-		libraryTarget: 'umd',
-		libraryExport: 'default'
-	},
-
-	optimization: {
-		minimizer: [
-			new TerserWebpackPlugin( {
-				sourceMap: true,
-				terserOptions: {
-					output: {
-						// Preserve CKEditor 5 license comments.
-						comments: /^!/
-					}
-				},
-				extractComments: false
-			} )
-		]
-	},
-
-	plugins: [
-		new CKEditorWebpackPlugin( {
-			// UI language. Language codes follow the https://en.wikipedia.org/wiki/ISO_639-1 format.
-			// When changing the built-in language, remember to also change it in the editor's configuration (src/ckeditor.js).
-			language: 'en',
-			additionalLanguages: 'all'
-		} ),
-		new webpack.BannerPlugin( {
-			banner: bundler.getLicenseBanner(),
-			raw: true
-		} )
-	],
-
-	module: {
-		rules: [
-			{
-				test: /\.svg$/,
-				use: [ 'raw-loader' ]
-			},
-			{
-				test: /\.css$/,
-				use: [
-					{
-						loader: 'style-loader',
-						options: {
-							injectType: 'singletonStyleTag',
-							attributes: {
-								'data-cke': true
-							}
-						}
-					},
-					{
-						loader: 'css-loader'
-					},
-					{
-						loader: 'postcss-loader',
-						options: {
-							postcssOptions: styles.getPostCssConfig( {
-								themeImporter: {
-									themePath: require.resolve( '@ckeditor/ckeditor5-theme-lark' )
-								},
-								minify: true
-							} )
-						}
-					},
-				]
-			}
-		]
-	}
-};
+ /* eslint-env node */
+ 
+ const path = require('path');
+ const webpack = require('webpack');
+ const { bundler, styles } = require('@ckeditor/ckeditor5-dev-utils');
+ const CKEditorWebpackPlugin = require('@ckeditor/ckeditor5-dev-webpack-plugin');
+ const TerserPlugin = require('terser-webpack-plugin');
+ 
+ module.exports = {
+	 devtool: 'source-map',
+	 performance: { hints: false },
+ 
+	 entry: path.resolve(__dirname, 'src', 'ckeditor.js'),
+ 
+	 output: {
+		 // The name under which the editor will be exported.
+		 library: 'ClassicEditor',
+ 
+		 path: path.resolve(__dirname, 'build'),
+		 filename: 'ckeditor.js',
+		 libraryTarget: 'umd',
+		 libraryExport: 'default'
+	 },
+ 
+	 optimization: {
+		 minimizer: [
+			 new TerserPlugin({
+				 sourceMap: true,
+				 terserOptions: {
+					 output: {
+						 // Preserve CKEditor 5 license comments.
+						 comments: /^!/
+					 }
+				 },
+				 extractComments: false
+			 })
+		 ]
+	 },
+ 
+	 plugins: [
+		 new CKEditorWebpackPlugin({
+			 // UI language. Language codes follow the https://en.wikipedia.org/wiki/ISO_639-1 format.
+			 // When changing the built-in language, remember to also change it in the editor's configuration (src/ckeditor.js).
+			 language: 'en',
+			 additionalLanguages: 'all'
+		 }),
+		 new webpack.BannerPlugin({
+			 banner: bundler.getLicenseBanner(),
+			 raw: true
+		 })
+	 ],
+ 
+	 module: {
+		 rules: [
+			 {
+				 test: /\.svg$/,
+				 use: ['raw-loader']
+			 },
+			 {
+				 test: /\.css$/,
+				 use: [
+					 {
+						 loader: 'style-loader',
+						 options: {
+							 injectType: 'singletonStyleTag',
+							 attributes: {
+								 'data-cke': true
+							 }
+						 }
+					 },
+					 {
+						 loader: 'postcss-loader',
+						 options: styles.getPostCssConfig({
+							 themeImporter: {
+								 themePath: require.resolve('@ckeditor/ckeditor5-theme-lark')
+							 },
+							 minify: true
+						 })
+					 }
+				 ]
+			 }
+		 ]
+	 }
+ };
+ 

File diff suppressed because it is too large
+ 535 - 731
yarn.lock