@ckeditor/ckeditor5-editor-balloon 29.0.0 → 31.0.0

Sign up to get free protection for your applications and to get access to all the features.
package/LICENSE.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Software License Agreement
2
2
  ==========================
3
3
 
4
- **Balloon Editor** – https://github.com/ckeditor/ckeditor5-editor-balloon <br>
4
+ **Balloon editor implementation** – https://github.com/ckeditor/ckeditor5-editor-balloon <br>
5
5
  Copyright (c) 2003-2021, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved.
6
6
 
7
7
  Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
package/README.md CHANGED
@@ -9,7 +9,7 @@ The balloon editor implementation (Medium-like editor) for CKEditor 5.
9
9
 
10
10
  This package contains the [`BalloonEditor`](https://ckeditor.com/docs/ckeditor5/latest/api/module_editor-balloon_ballooneditor-BalloonEditor.html) class. Follow there to learn more about this type of editor and how to initialize it.
11
11
 
12
- This package contains the source version of the balloon editor. This editor implementation is also available in the [balloon build](https://www.npmjs.com/package/@ckeditor/ckeditor5-build-balloon). Read more about [CKEditor 5 Builds](https://ckeditor.com/docs/ckeditor5/latest/builds/index.html).
12
+ This package contains the source version of the balloon editor. This editor implementation is also available in the [balloon build](https://www.npmjs.com/package/@ckeditor/ckeditor5-build-balloon). Read more about [CKEditor 5 builds](https://ckeditor.com/docs/ckeditor5/latest/builds/index.html).
13
13
 
14
14
  ## Documentation
15
15
 
package/package.json CHANGED
@@ -1,31 +1,32 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-editor-balloon",
3
- "version": "29.0.0",
3
+ "version": "31.0.0",
4
4
  "description": "Balloon editor implementation for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
7
7
  "ckeditor5",
8
8
  "ckeditor 5",
9
- "ckeditor5-editor"
9
+ "ckeditor5-editor",
10
+ "ckeditor5-dll"
10
11
  ],
11
12
  "main": "src/index.js",
12
13
  "dependencies": {
13
- "ckeditor5": "^29.0.0",
14
+ "ckeditor5": "^31.0.0",
14
15
  "lodash-es": "^4.17.15"
15
16
  },
16
17
  "devDependencies": {
17
- "@ckeditor/ckeditor5-basic-styles": "^29.0.0",
18
- "@ckeditor/ckeditor5-core": "^29.0.0",
19
- "@ckeditor/ckeditor5-dev-utils": "^25.0.0",
20
- "@ckeditor/ckeditor5-engine": "^29.0.0",
21
- "@ckeditor/ckeditor5-enter": "^29.0.0",
22
- "@ckeditor/ckeditor5-heading": "^29.0.0",
23
- "@ckeditor/ckeditor5-paragraph": "^29.0.0",
24
- "@ckeditor/ckeditor5-theme-lark": "^29.0.0",
25
- "@ckeditor/ckeditor5-typing": "^29.0.0",
26
- "@ckeditor/ckeditor5-ui": "^29.0.0",
27
- "@ckeditor/ckeditor5-undo": "^29.0.0",
28
- "@ckeditor/ckeditor5-utils": "^29.0.0",
18
+ "@ckeditor/ckeditor5-basic-styles": "^31.0.0",
19
+ "@ckeditor/ckeditor5-core": "^31.0.0",
20
+ "@ckeditor/ckeditor5-dev-utils": "^25.4.0",
21
+ "@ckeditor/ckeditor5-engine": "^31.0.0",
22
+ "@ckeditor/ckeditor5-enter": "^31.0.0",
23
+ "@ckeditor/ckeditor5-heading": "^31.0.0",
24
+ "@ckeditor/ckeditor5-paragraph": "^31.0.0",
25
+ "@ckeditor/ckeditor5-theme-lark": "^31.0.0",
26
+ "@ckeditor/ckeditor5-typing": "^31.0.0",
27
+ "@ckeditor/ckeditor5-ui": "^31.0.0",
28
+ "@ckeditor/ckeditor5-undo": "^31.0.0",
29
+ "@ckeditor/ckeditor5-utils": "^31.0.0",
29
30
  "webpack": "^4.43.0",
30
31
  "webpack-cli": "^3.3.11"
31
32
  },
@@ -46,7 +47,8 @@
46
47
  "lang",
47
48
  "src",
48
49
  "theme",
49
- "build"
50
+ "build",
51
+ "ckeditor5-metadata.json"
50
52
  ],
51
53
  "scripts": {
52
54
  "dll:build": "webpack"
@@ -17,7 +17,7 @@ import BalloonEditorUI from './ballooneditorui';
17
17
  import BalloonEditorUIView from './ballooneditoruiview';
18
18
 
19
19
  /**
20
- * The {@glink builds/guides/overview#balloon-editor balloon editor} implementation (Medium-like editor).
20
+ * The {@glink builds/guides/predefined-builds/overview#balloon-editor balloon editor} implementation (Medium-like editor).
21
21
  * It uses an inline editable and a toolbar based on the {@link module:ui/toolbar/balloon/balloontoolbar~BalloonToolbar}.
22
22
  * See the {@glink examples/builds/balloon-editor demo}.
23
23
  *
@@ -28,9 +28,9 @@ import BalloonEditorUIView from './ballooneditoruiview';
28
28
  *
29
29
  * The balloon editor can be used directly from source (if you installed the
30
30
  * [`@ckeditor/ckeditor5-editor-balloon`](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-balloon) package)
31
- * but it is also available in the {@glink builds/guides/overview#balloon-editor balloon build}.
31
+ * but it is also available in the {@glink builds/guides/predefined-builds/overview#balloon-editor balloon build}.
32
32
  *
33
- * {@glink builds/guides/overview Builds} are ready-to-use editors with plugins bundled in. When using the editor from
33
+ * {@glink builds/guides/predefined-builds/overview Builds} are ready-to-use editors with plugins bundled in. When using the editor from
34
34
  * source you need to take care of loading all plugins by yourself
35
35
  * (through the {@link module:core/editor/editorconfig~EditorConfig#plugins `config.plugins`} option).
36
36
  * Using the editor from source gives much better flexibility and allows easier customization.
@@ -169,7 +169,7 @@ export default class BalloonEditor extends Editor {
169
169
  * # Using the editor from source
170
170
  *
171
171
  * The code samples listed in the previous sections of this documentation assume that you are using an
172
- * {@glink builds/guides/overview editor build} (for example – `@ckeditor/ckeditor5-build-balloon`).
172
+ * {@glink builds/guides/predefined-builds/overview editor build} (for example – `@ckeditor/ckeditor5-build-balloon`).
173
173
  *
174
174
  * If you want to use the balloon editor from source (`@ckeditor/ckeditor5-editor-balloon/src/ballooneditor`),
175
175
  * you need to define the list of
package/CHANGELOG.md DELETED
@@ -1,170 +0,0 @@
1
- Changelog
2
- =========
3
-
4
- All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
5
-
6
- Changes for the past releases are available below.
7
-
8
- ## [19.0.0](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v18.0.0...v19.0.0) (2020-04-29)
9
-
10
- Internal changes only (updated dependencies, documentation, etc.).
11
-
12
-
13
- ## [18.0.0](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v17.0.0...v18.0.0) (2020-03-19)
14
-
15
- Internal changes only (updated dependencies, documentation, etc.).
16
-
17
-
18
- ## [17.0.0](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v16.0.0...v17.0.0) (2020-02-19)
19
-
20
- Internal changes only (updated dependencies, documentation, etc.).
21
-
22
-
23
- ## [16.0.0](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v15.0.0...v16.0.0) (2019-12-04)
24
-
25
- Internal changes only (updated dependencies, documentation, etc.).
26
-
27
-
28
- ## [15.0.0](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v12.2.2...v15.0.0) (2019-10-23)
29
-
30
- Internal changes only (updated dependencies, documentation, etc.).
31
-
32
-
33
- ## [12.2.2](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v12.2.1...v12.2.2) (2019-08-26)
34
-
35
- ### Other changes
36
-
37
- * The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([36f5ae9](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/36f5ae9))
38
- * Introduced a check that prevents sharing source elements between editor instances. See [ckeditor/ckeditor5#746](https://github.com/ckeditor/ckeditor5/issues/746). ([5159981](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/5159981))
39
-
40
-
41
- ## [12.2.1](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v12.2.0...v12.2.1) (2019-07-10)
42
-
43
- Internal changes only (updated dependencies, documentation, etc.).
44
-
45
-
46
- ## [12.2.0](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v12.1.1...v12.2.0) (2019-07-04)
47
-
48
- ### Features
49
-
50
- * `BalloonEditor.create()` will throw an error, when textarea element is used. ([83552e2](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/83552e2))
51
-
52
-
53
- ## [12.1.1](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v12.1.0...v12.1.1) (2019-06-05)
54
-
55
- Internal changes only (updated dependencies, documentation, etc.).
56
-
57
-
58
- ## [12.1.0](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v12.0.0...v12.1.0) (2019-04-10)
59
-
60
- ### Features
61
-
62
- * Introduced `EditorConfig#initialData`. ([678528f](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/678528f))
63
-
64
-
65
- ## [12.0.0](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v11.0.2...v12.0.0) (2019-02-28)
66
-
67
- ### Features
68
-
69
- * Added support for the `config.placeholder` option which allows configuring the empty editor content placeholder (see [ckeditor/ckeditor5#479](https://github.com/ckeditor/ckeditor5/issues/479)). ([7f39e5e](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/7f39e5e))
70
-
71
- ### Bug fixes
72
-
73
- * Fixed memory leaks during editor initialization and destruction (see [ckeditor/ckeditor5#1341](https://github.com/ckeditor/ckeditor5/issues/1341)). ([c959daf](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/c959daf))
74
-
75
- ### Other changes
76
-
77
- * Adjustments to new editor initialization events. See breaking changes. ([1bb0285](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/1bb0285))
78
- * Editor UI classes API refactoring. See breaking changes. ([dd43e7a](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/dd43e7a))
79
-
80
- ### BREAKING CHANGES
81
-
82
- * Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c))
83
- * The second argument of `BalloonEditorUIView.constructor()` is an editing view instance now.
84
- * The `editor#dataReady` event was removed. The `editor.data#ready` event has been introduced and should be used instead.
85
- * The `editor#pluginsReady` event was removed. Use plugin `afterInit()` method instead.
86
- * Removed `BalloonEditor#element` property. The `BalloonEditorUI#element` property should be used instead.
87
- * Removed `BalloonEditorUIView#editableElement`. Instead `BalloonEditorUI#getEditableElement()` method should be used.
88
-
89
-
90
- ## [11.0.2](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v11.0.1...v11.0.2) (2018-12-05)
91
-
92
- Internal changes only (updated dependencies, documentation, etc.).
93
-
94
-
95
- ## [11.0.1](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v11.0.0...v11.0.1) (2018-10-08)
96
-
97
- Internal changes only (updated dependencies, documentation, etc.).
98
-
99
-
100
- ## [11.0.0](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v10.0.1...v11.0.0) (2018-07-18)
101
-
102
- ### Features
103
-
104
- * Editor can now be created with initial data passed to the `create()` method. Closes [#18](https://github.com/ckeditor/ckeditor5-editor-balloon/issues/18). ([48c265c](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/48c265c))
105
-
106
- ### Other changes
107
-
108
- * Used the `EditorUI` as a parent class for the `BalloonEditorUI` (see [ckeditor/ckeditor5-core#130](https://github.com/ckeditor/ckeditor5-core/issues/130)). ([03af1c0](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/03af1c0))
109
-
110
- ### BREAKING CHANGES
111
-
112
- * The `BalloonEditor#element` property was renamed to `BalloonEditor#sourceElement` and `BalloonEditor#updateElement()` method to `BalloonEditor#updateSourceElement()`. See [ckeditor/ckeditor5-core#64](https://github.com/ckeditor/ckeditor5-core/issues/64).
113
-
114
-
115
- ## [10.0.1](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v10.0.0...v10.0.1) (2018-06-21)
116
-
117
- Internal changes only (updated dependencies, documentation, etc.).
118
-
119
-
120
- ## [10.0.0](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v1.0.0-beta.4...v10.0.0) (2018-04-25)
121
-
122
- ### Other changes
123
-
124
- * Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([00d20c1](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/00d20c1))
125
-
126
- ### BREAKING CHANGES
127
-
128
- * The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
129
-
130
-
131
- ## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018-04-19)
132
-
133
- Internal changes only (updated dependencies, documentation, etc.).
134
-
135
-
136
- ## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10)
137
-
138
- Internal changes only (updated dependencies, documentation, etc.).
139
-
140
-
141
- ## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018-03-15)
142
-
143
- ### Other changes
144
-
145
- * Migrated the editor styles to PostCSS (see [ckeditor/ckeditor5-ui#144](https://github.com/ckeditor/ckeditor5-ui/issues/144)). ([bd239e9](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/bd239e9))
146
-
147
-
148
- ## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2017-11-14)
149
-
150
- ### Other changes
151
-
152
- * Aligned UI library usage to the [changes in the UI framework](https://github.com/ckeditor/ckeditor5-ui/pull/332).
153
-
154
-
155
- ## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-editor-balloon/compare/v0.1.0...v1.0.0-alpha.1) (2017-10-03)
156
-
157
- ### Other changes
158
-
159
- * The editor name has been changed from `@ckeditor/ckeditor5-build-balloon-toolbar` to `@ckeditor/ckeditor5-build-balloon` (the class name has been changed to `BalloonEditor`). See [ckeditor/ckeditor5#546](https://github.com/ckeditor/ckeditor5/issues/546) for more information. ([5fc4f60](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/5fc4f60))
160
-
161
- ### BREAKING CHANGES
162
-
163
- * The editor name has been changed. See [ckeditor/ckeditor5#546](https://github.com/ckeditor/ckeditor5/issues/546).
164
-
165
-
166
- ## 0.1.0 (2017-09-03)
167
-
168
- ### Features
169
-
170
- * The first implementation of the balloon editor. Closes [#1](https://github.com/ckeditor/ckeditor5-editor-balloon/issues/1). ([a4462ac](https://github.com/ckeditor/ckeditor5-editor-balloon/commit/a4462ac))