@ckeditor/ckeditor5-editor-balloon 29.2.0 → 32.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +2 -2
- package/README.md +1 -1
- package/build/editor-balloon.js +2 -3
- package/package.json +17 -17
- package/src/ballooneditor.js +5 -5
- package/src/ballooneditorui.js +1 -1
- package/src/ballooneditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/CHANGELOG.md +0 -170
package/LICENSE.md
CHANGED
|
@@ -2,7 +2,7 @@ Software License Agreement
|
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
4
|
**Balloon editor implementation** – https://github.com/ckeditor/ckeditor5-editor-balloon <br>
|
|
5
|
-
Copyright (c) 2003-
|
|
5
|
+
Copyright (c) 2003-2022, [CKSource](http://cksource.com) Holding sp. z o.o. 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).
|
|
8
8
|
|
|
@@ -14,4 +14,4 @@ Where not otherwise indicated, all CKEditor content is authored by CKSource engi
|
|
|
14
14
|
Trademarks
|
|
15
15
|
----------
|
|
16
16
|
|
|
17
|
-
**CKEditor** is a trademark of [CKSource](http://cksource.com)
|
|
17
|
+
**CKEditor** is a trademark of [CKSource](http://cksource.com) Holding sp. z o.o. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
|
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
|
|
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/build/editor-balloon.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource - Frederico Knabben. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md.
|
|
4
|
-
*/
|
|
5
|
-
window.CKEditor5=window.CKEditor5||{},window.CKEditor5.editorBalloon=function(t){var e={};function r(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=t,r.c=e,r.d=function(t,e,o){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(o,n,function(e){return t[e]}.bind(null,n));return o},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=7)}([function(t,e,r){t.exports=r(3)("./src/core.js")},function(t,e,r){t.exports=r(3)("./src/ui.js")},function(t,e,r){t.exports=r(3)("./src/utils.js")},function(t,e){t.exports=CKEditor5.dll},function(t,e,r){t.exports=r(3)("./src/engine.js")},function(t,e,r){"use strict";(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.a=r}).call(this,r(6))},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";r.r(e),r.d(e,"BalloonEditor",(function(){return k}));var o=r(0),n=r(1),i=r(2);var c=function(t){return null!=t&&"object"==typeof t},s=r(5),a="object"==typeof self&&self&&self.Object===Object&&self,l=(s.a||a||Function("return this")()).Symbol,u=Object.prototype,d=u.hasOwnProperty,f=u.toString,b=l?l.toStringTag:void 0;var h=function(t){var e=d.call(t,b),r=t[b];try{t[b]=void 0;var o=!0}catch(t){}var n=f.call(t);return o&&(e?t[b]=r:delete t[b]),n},p=Object.prototype.toString;var g=function(t){return p.call(t)},m=l?l.toStringTag:void 0;var y=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":m&&m in Object(t)?h(t):g(t)};var j=function(t,e){return function(r){return t(e(r))}}(Object.getPrototypeOf,Object),w=Function.prototype,v=Object.prototype,O=w.toString,E=v.hasOwnProperty,x=O.call(Object);var T=function(t){if(!c(t)||"[object Object]"!=y(t))return!1;var e=j(t);if(null===e)return!0;var r=E.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&O.call(r)==x};var P=function(t){return c(t)&&1===t.nodeType&&!T(t)},S=r(4);class D extends o.EditorUI{constructor(t,e){super(t),this.view=e}get element(){return this.view.editable.element}init(){const t=this.editor,e=this.view,r=t.plugins.get("BalloonToolbar"),o=t.editing.view,i=e.editable,c=o.document.getRoot();i.name=c.rootName,e.render();const s=i.element;this.setEditableElement(i.name,s),this.focusTracker.add(s),i.bind("isFocused").to(this.focusTracker),o.attachDomRoot(s),Object(n.enableToolbarKeyboardFocus)({origin:o,originFocusTracker:this.focusTracker,originKeystrokeHandler:t.keystrokes,toolbar:r.toolbarView,beforeFocus(){r.show()},afterBlur(){r.hide()}}),this._initPlaceholder(),this.fire("ready")}destroy(){const t=this.view;this.editor.editing.view.detachDomRoot(t.editable.name),t.destroy(),super.destroy()}_initPlaceholder(){const t=this.editor,e=t.editing.view,r=e.document.getRoot(),o=t.sourceElement,n=t.config.get("placeholder")||o&&"textarea"===o.tagName.toLowerCase()&&o.getAttribute("placeholder");n&&Object(S.enablePlaceholder)({view:e,element:r,text:n,isDirectHost:!1,keepOnFocus:!0})}}class F extends n.EditorUIView{constructor(t,e,r){super(t),this.editable=new n.InlineEditableUIView(t,e,r)}render(){super.render(),this.registerChild(this.editable)}}class k extends o.Editor{constructor(t,e){super(e),P(t)&&(this.sourceElement=t,Object(o.secureSourceElement)(this));const r=this.config.get("plugins");r.push(n.BalloonToolbar),this.config.set("plugins",r),this.config.define("balloonToolbar",this.config.get("toolbar")),this.model.document.createRoot();const i=new F(this.locale,this.editing.view,this.sourceElement);this.ui=new D(this,i),Object(o.attachToForm)(this)}destroy(){const t=this.getData();return this.ui.destroy(),super.destroy().then(()=>{this.sourceElement&&Object(i.setDataInElement)(this.sourceElement,t)})}static create(t,e={}){return new Promise(r=>{const o=P(t);if(o&&"TEXTAREA"===t.tagName)throw new i.CKEditorError("editor-wrong-element",null);const n=new this(t,e);r(n.initPlugins().then(()=>{n.ui.init()}).then(()=>{if(!o&&e.initialData)throw new i.CKEditorError("editor-create-initial-data",null);const r=void 0!==e.initialData?e.initialData:function(t){return P(t)?Object(i.getDataFromElement)(t):t}(t);return n.data.init(r)}).then(()=>n.fire("ready")).then(()=>n))})}}Object(i.mix)(k,o.DataApiMixin),Object(i.mix)(k,o.ElementApiMixin)}]);
|
|
4
|
+
*/(()=>{var t={704:(t,e,o)=>{t.exports=o(79)("./src/core.js")},492:(t,e,o)=>{t.exports=o(79)("./src/engine.js")},273:(t,e,o)=>{t.exports=o(79)("./src/ui.js")},209:(t,e,o)=>{t.exports=o(79)("./src/utils.js")},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(r){var i=e[r];if(void 0!==i)return i.exports;var n=e[r]={exports:{}};return t[r](n,n.exports,o),n.exports}o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";o.r(r),o.d(r,{BalloonEditor:()=>F});var t=o(704),e=o(273),i=o(209);const n=function(t){return null!=t&&"object"==typeof t};const s="object"==typeof global&&global&&global.Object===Object&&global;var c="object"==typeof self&&self&&self.Object===Object&&self;const a=(s||c||Function("return this")()).Symbol;var l=Object.prototype,u=l.hasOwnProperty,d=l.toString,h=a?a.toStringTag:void 0;const b=function(t){var e=u.call(t,h),o=t[h];try{t[h]=void 0;var r=!0}catch(t){}var i=d.call(t);return r&&(e?t[h]=o:delete t[h]),i};var g=Object.prototype.toString;const p=function(t){return g.call(t)};var f=a?a.toStringTag:void 0;const m=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":f&&f in Object(t)?b(t):p(t)};const v=function(t,e){return function(o){return t(e(o))}}(Object.getPrototypeOf,Object);var y=Function.prototype,w=Object.prototype,j=y.toString,E=w.hasOwnProperty,O=j.call(Object);const x=function(t){if(!n(t)||"[object Object]"!=m(t))return!1;var e=v(t);if(null===e)return!0;var o=E.call(e,"constructor")&&e.constructor;return"function"==typeof o&&o instanceof o&&j.call(o)==O};const T=function(t){return n(t)&&1===t.nodeType&&!x(t)};var P=o(492);class S extends t.EditorUI{constructor(t,e){super(t),this.view=e}get element(){return this.view.editable.element}init(){const t=this.editor,o=this.view,r=t.plugins.get("BalloonToolbar"),i=t.editing.view,n=o.editable,s=i.document.getRoot();n.name=s.rootName,o.render();const c=n.element;this.setEditableElement(n.name,c),this.focusTracker.add(c),n.bind("isFocused").to(this.focusTracker),i.attachDomRoot(c),(0,e.enableToolbarKeyboardFocus)({origin:i,originFocusTracker:this.focusTracker,originKeystrokeHandler:t.keystrokes,toolbar:r.toolbarView,beforeFocus(){r.show()},afterBlur(){r.hide()}}),this._initPlaceholder(),this.fire("ready")}destroy(){const t=this.view;this.editor.editing.view.detachDomRoot(t.editable.name),t.destroy(),super.destroy()}_initPlaceholder(){const t=this.editor,e=t.editing.view,o=e.document.getRoot(),r=t.sourceElement,i=t.config.get("placeholder")||r&&"textarea"===r.tagName.toLowerCase()&&r.getAttribute("placeholder");i&&(0,P.enablePlaceholder)({view:e,element:o,text:i,isDirectHost:!1,keepOnFocus:!0})}}class D extends e.EditorUIView{constructor(t,o,r){super(t),this.editable=new e.InlineEditableUIView(t,o,r)}render(){super.render(),this.registerChild(this.editable)}}class F extends t.Editor{constructor(o,r){super(r),T(o)&&(this.sourceElement=o,(0,t.secureSourceElement)(this));const i=this.config.get("plugins");i.push(e.BalloonToolbar),this.config.set("plugins",i),this.config.define("balloonToolbar",this.config.get("toolbar")),this.model.document.createRoot();const n=new D(this.locale,this.editing.view,this.sourceElement);this.ui=new S(this,n),(0,t.attachToForm)(this)}destroy(){const t=this.getData();return this.ui.destroy(),super.destroy().then((()=>{this.sourceElement&&(0,i.setDataInElement)(this.sourceElement,t)}))}static create(t,e={}){return new Promise((o=>{const r=T(t);if(r&&"TEXTAREA"===t.tagName)throw new i.CKEditorError("editor-wrong-element",null);const n=new this(t,e);o(n.initPlugins().then((()=>{n.ui.init()})).then((()=>{if(!r&&e.initialData)throw new i.CKEditorError("editor-create-initial-data",null);const o=void 0!==e.initialData?e.initialData:function(t){return T(t)?(0,i.getDataFromElement)(t):t}(t);return n.data.init(o)})).then((()=>n.fire("ready"))).then((()=>n)))}))}}(0,i.mix)(F,t.DataApiMixin),(0,i.mix)(F,t.ElementApiMixin)})(),(window.CKEditor5=window.CKEditor5||{}).editorBalloon=r})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-editor-balloon",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "32.0.0",
|
|
4
4
|
"description": "Balloon editor implementation for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -11,27 +11,27 @@
|
|
|
11
11
|
],
|
|
12
12
|
"main": "src/index.js",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"ckeditor5": "^
|
|
14
|
+
"ckeditor5": "^32.0.0",
|
|
15
15
|
"lodash-es": "^4.17.15"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@ckeditor/ckeditor5-basic-styles": "^
|
|
19
|
-
"@ckeditor/ckeditor5-core": "^
|
|
20
|
-
"@ckeditor/ckeditor5-dev-utils": "^
|
|
21
|
-
"@ckeditor/ckeditor5-engine": "^
|
|
22
|
-
"@ckeditor/ckeditor5-enter": "^
|
|
23
|
-
"@ckeditor/ckeditor5-heading": "^
|
|
24
|
-
"@ckeditor/ckeditor5-paragraph": "^
|
|
25
|
-
"@ckeditor/ckeditor5-theme-lark": "^
|
|
26
|
-
"@ckeditor/ckeditor5-typing": "^
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "^
|
|
28
|
-
"@ckeditor/ckeditor5-undo": "^
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "^
|
|
30
|
-
"webpack": "^
|
|
31
|
-
"webpack-cli": "^
|
|
18
|
+
"@ckeditor/ckeditor5-basic-styles": "^32.0.0",
|
|
19
|
+
"@ckeditor/ckeditor5-core": "^32.0.0",
|
|
20
|
+
"@ckeditor/ckeditor5-dev-utils": "^27.1.0",
|
|
21
|
+
"@ckeditor/ckeditor5-engine": "^32.0.0",
|
|
22
|
+
"@ckeditor/ckeditor5-enter": "^32.0.0",
|
|
23
|
+
"@ckeditor/ckeditor5-heading": "^32.0.0",
|
|
24
|
+
"@ckeditor/ckeditor5-paragraph": "^32.0.0",
|
|
25
|
+
"@ckeditor/ckeditor5-theme-lark": "^32.0.0",
|
|
26
|
+
"@ckeditor/ckeditor5-typing": "^32.0.0",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "^32.0.0",
|
|
28
|
+
"@ckeditor/ckeditor5-undo": "^32.0.0",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "^32.0.0",
|
|
30
|
+
"webpack": "^5.58.1",
|
|
31
|
+
"webpack-cli": "^4.9.0"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": ">=
|
|
34
|
+
"node": ">=14.0.0",
|
|
35
35
|
"npm": ">=5.7.1"
|
|
36
36
|
},
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
package/src/ballooneditor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -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/src/ballooneditorui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
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))
|