Browse Source

Other: `@ckeditor/ckeditor5-build-balloon-toolbar` and `@ckeditor/ckeditor5-editor-balloon-toolbar` have been renamed to respectively `@ckeditor/ckeditor5-build-balloon` and `@ckeditor/ckeditor5-editor-balloon`. Closes #546.

Piotrek Koszuliński 8 years ago
parent
commit
fb4a4e4044

+ 10 - 10
README.md

@@ -174,14 +174,14 @@ Read more in the [Support](https://github.com/ckeditor/ckeditor5/wiki/Support) w
 
 <tr>
 	<td>
-		<a href="https://github.com/ckeditor/ckeditor5-editor-balloon-toolbar"><code>@ckeditor/ckeditor5-editor-balloon-toolbar</code></a>
+		<a href="https://github.com/ckeditor/ckeditor5-editor-balloon"><code>@ckeditor/ckeditor5-editor-balloon</code></a>
 		<br>
-		The editor with a balloon toolbar (Medium-like) implementation.
+		The balloon editor (Medium-like) implementation.
 	</td>
 	<td>
-		<a href="https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-balloon-toolbar"><img src="https://img.shields.io/npm/v/@ckeditor/ckeditor5-editor-balloon-toolbar.svg" alt="ckeditor5-editor-balloon-toolbar npm package badge"></a>
-		<a href="https://travis-ci.org/ckeditor/ckeditor5-editor-balloon-toolbar"><img src="https://img.shields.io/travis/ckeditor/ckeditor5-editor-balloon-toolbar/master.svg" alt="build status badge"></a>
-		<a href="https://codeclimate.com/github/ckeditor/ckeditor5-editor-balloon-toolbar/coverage"><img src="https://img.shields.io/codeclimate/coverage/github/ckeditor/ckeditor5-editor-balloon-toolbar.svg" alt="ckeditor5-editor-balloon-toolbar coverage badge"></a>
+		<a href="https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-balloon"><img src="https://img.shields.io/npm/v/@ckeditor/ckeditor5-editor-balloon.svg" alt="ckeditor5-editor-balloon npm package badge"></a>
+		<a href="https://travis-ci.org/ckeditor/ckeditor5-editor-balloon"><img src="https://img.shields.io/travis/ckeditor/ckeditor5-editor-balloon/master.svg" alt="build status badge"></a>
+		<a href="https://codeclimate.com/github/ckeditor/ckeditor5-editor-balloon/coverage"><img src="https://img.shields.io/codeclimate/coverage/github/ckeditor/ckeditor5-editor-balloon.svg" alt="ckeditor5-editor-balloon coverage badge"></a>
 	</td>
 </tr>
 
@@ -450,14 +450,14 @@ Read more in the [Support](https://github.com/ckeditor/ckeditor5/wiki/Support) w
 
 <tr>
 	<td>
-		<a href="https://github.com/ckeditor/ckeditor5-build-balloon-toolbar"><code>@ckeditor/ckeditor5-build-balloon-toolbar</code></a>
+		<a href="https://github.com/ckeditor/ckeditor5-build-balloon"><code>@ckeditor/ckeditor5-build-balloon</code></a>
 		<br>
-		The editor with a balloon toolbar (Medium-like) build.
+		The balloon editor (Medium-like) build.
 	</td>
 	<td>
-		<a href="https://www.npmjs.com/package/@ckeditor/ckeditor5-build-balloon-toolbar"><img src="https://img.shields.io/npm/v/@ckeditor/ckeditor5-build-balloon-toolbar.svg" alt="ckeditor5-build-balloon-toolbar npm package badge"></a>
-		<a href="https://travis-ci.org/ckeditor/ckeditor5-build-balloon-toolbar"><img src="https://img.shields.io/travis/ckeditor/ckeditor5-build-balloon-toolbar/master.svg" alt="build status badge"></a>
-		<a href="https://codeclimate.com/github/ckeditor/ckeditor5-build-balloon-toolbar/coverage"><img src="https://img.shields.io/codeclimate/coverage/github/ckeditor/ckeditor5-build-balloon-toolbar.svg" alt="ckeditor5-build-balloon-toolbar coverage badge"></a>
+		<a href="https://www.npmjs.com/package/@ckeditor/ckeditor5-build-balloon"><img src="https://img.shields.io/npm/v/@ckeditor/ckeditor5-build-balloon.svg" alt="ckeditor5-build-balloon npm package badge"></a>
+		<a href="https://travis-ci.org/ckeditor/ckeditor5-build-balloon"><img src="https://img.shields.io/travis/ckeditor/ckeditor5-build-balloon/master.svg" alt="build status badge"></a>
+		<a href="https://codeclimate.com/github/ckeditor/ckeditor5-build-balloon/coverage"><img src="https://img.shields.io/codeclimate/coverage/github/ckeditor/ckeditor5-build-balloon.svg" alt="ckeditor5-build-balloon coverage badge"></a>
 	</td>
 </tr>
 

+ 1 - 1
docs/_snippets/examples/balloon-toolbar-editor.html

@@ -1,4 +1,4 @@
-<div id="snippet-balloon-toolbar-editor">
+<div id="snippet-balloon-editor">
 	<h2>Walking the capitals of Europe: Warsaw</h2>
 	<figure class="image"><img alt="Picture of the Warsaw Old Town." height="auto" width="100%"
 	                           src="https://c.cksource.com/a/1/img/demo/warsaw.jpg">

+ 3 - 3
docs/_snippets/examples/balloon-toolbar-editor.js

@@ -5,12 +5,12 @@
 
 /* globals console, window, document */
 
-import BalloonToolbarEditor from '@ckeditor/ckeditor5-editor-balloon-toolbar/src/balloontoolbareditor';
+import BalloonEditor from '@ckeditor/ckeditor5-editor-balloon/src/ballooneditor';
 
 import ArticlePreset from '@ckeditor/ckeditor5-presets/src/article';
 
-BalloonToolbarEditor
-	.create( document.querySelector( '#snippet-balloon-toolbar-editor' ), {
+BalloonEditor
+	.create( document.querySelector( '#snippet-balloon-editor' ), {
 		plugins: [ ArticlePreset ],
 		toolbar: [ 'headings', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ],
 		image: {

+ 1 - 1
docs/builds/guides/integration/basic-api.md

@@ -11,7 +11,7 @@ Each CKEditor 5 build provides a different class that handles the creation of ed
 
 * Classic editor – {@link module:editor-classic/classiceditor~ClassicEditor}
 * Inline editor – {@link module:editor-inline/inlineeditor~InlineEditor}
-* Balloon toolbar editor – {@link module:editor-balloon-toolbar/balloontoolbareditor~BalloonToolbarEditor}
+* Balloon editor – {@link module:editor-balloon/ballooneditor~BalloonEditor}
 
 Most of the examples in the documentation use the `ClassicEditor` class, but things should work in a similar way with other builds.
 

+ 6 - 6
docs/builds/guides/overview.md

@@ -18,7 +18,7 @@ The following CKEditor 5 Builds are currently available:
 
  * [Classic editor](#Classic-editor)
  * [Inline editor](#Inline-editor)
- * [Balloon toolbar editor](#Balloon-toolbar-editor)
+ * [Balloon editor](#Balloon-editor)
 
 ### Classic editor
 
@@ -40,19 +40,19 @@ To try it out online, check the {@link examples/builds/classic-editor classic ed
 
 Inline editor comes with a floating toolbar that becomes visible when the editor is focused (e.g. by clicking it). Unlike classic editor, inline editor does not render *instead* of the given element, it simply makes it editable. As a consequence the styles of the edited content will be exactly the same before and after the editor is created.
 
-A common scenario for using inline editor is offering users the possibility to edit content in its real location on a web page instead of doing it in a separate administration section.  
+A common scenario for using inline editor is offering users the possibility to edit content in its real location on a web page instead of doing it in a separate administration section.
 
 {@img assets/img/editor-inline.png 774 Screenshot of an inline editor.}
 
 To try it out online, check the {@link examples/builds/inline-editor inline editor example}. Jump to {@link builds/guides/quick-start#Inline-editor quick start} to start using it.
 
-### Balloon toolbar editor
+### Balloon editor
 
-Balloon toolbar editor is very similar to inline editor. The difference between them is that the toolbar appears in a balloon next to the selection (when the selection is not empty):
+Balloon editor is very similar to inline editor. The difference between them is that the toolbar appears in a balloon next to the selection (when the selection is not empty):
 
-{@img assets/img/editor-balloon-toolbar.png 779 Screenshot of a baloon toolbar editor.}
+{@img assets/img/editor-balloon.png 779 Screenshot of a balloon toolbar editor.}
 
-To try it out online, check the {@link examples/builds/balloon-toolbar-editor balloon toolbar editor example}. Jump to {@link builds/guides/quick-start#Balloon-toolbar-editor quick start} to start using it.
+To try it out online, check the {@link examples/builds/balloon-editor balloon editor example}. Jump to {@link builds/guides/quick-start#Balloon-editor quick start} to start using it.
 
 ## Build customization
 

+ 9 - 9
docs/builds/guides/quick-start.md

@@ -116,7 +116,7 @@ Call the {@link module:editor-inline/inlineeditor~InlineEditor#create `InlineEdi
 </html>
 ```
 
-## Balloon toolbar editor
+## Balloon editor
 
 In your HTML page add an element that CKEditor should make editable:
 
@@ -124,17 +124,17 @@ In your HTML page add an element that CKEditor should make editable:
 <div id="editor"></div>
 ```
 
-Load CKEditor 5, the balloon toolbar editor build (here [CDN](https://cdn.ckeditor.com/) location is used):
+Load CKEditor 5, the balloon editor build (here [CDN](https://cdn.ckeditor.com/) location is used):
 
 ```html
-<script src="https://cdn.ckeditor.com/ckeditor5-build-balloon-toolbar/{@var ckeditor5-version}/build/ckeditor.js"></script>
+<script src="https://cdn.ckeditor.com/ckeditor5-build-balloon/{@var ckeditor5-version}/build/ckeditor.js"></script>
 ```
 
-Call the {@link module:editor-balloon-toolbar/balloontoolbareditor~BalloonToolbarEditor#create `BalloonToolbarEditor.create()`} method.
+Call the {@link module:editor-balloon/ballooneditor~BalloonEditor#create `BalloonEditor.create()`} method.
 
 ```html
 <script>
-	BalloonToolbarEditor
+	BalloonEditor
 		.create( document.querySelector( '#editor' ) )
 		.catch( error => {
 			console.error( error );
@@ -149,16 +149,16 @@ Call the {@link module:editor-balloon-toolbar/balloontoolbareditor~BalloonToolba
 <html>
 <head>
 	<meta charset="utf-8">
-	<title>CKEditor 5 – Balloon toolbar editor</title>
-	<script src="https://cdn.ckeditor.com/ckeditor5-build-balloon-toolbar/{@var ckeditor5-version}/build/ckeditor.js"></script>
+	<title>CKEditor 5 – Balloon editor</title>
+	<script src="https://cdn.ckeditor.com/ckeditor5-build-balloon/{@var ckeditor5-version}/build/ckeditor.js"></script>
 </head>
 <body>
-	<h1>Balloon toolbar editor</h1>
+	<h1>Balloon editor</h1>
 	<div id="editor">
 		<p>This is some sample content.</p>
 	</div>
 	<script>
-		BalloonToolbarEditor
+		BalloonEditor
 			.create( document.querySelector( '#editor' ) )
 			.catch( error => {
 				console.error( error );

+ 9 - 0
docs/examples/builds/balloon-editor.md

@@ -0,0 +1,9 @@
+---
+title: Balloon editor
+category: examples-builds
+order: 30
+---
+
+{@link builds/guides/overview#Balloon-editor Balloon editor} example.
+
+{@snippet examples/balloon-editor}

+ 0 - 9
docs/examples/builds/balloon-toolbar-editor.md

@@ -1,9 +0,0 @@
----
-title: Balloon toolbar editor
-category: examples-builds
-order: 30
----
-
-{@link builds/guides/overview#Editor-with-balloon-toolbar Balloon toolbar editor} example.
-
-{@snippet examples/balloon-toolbar-editor}

+ 2 - 2
mgit.json

@@ -6,12 +6,12 @@
     "@ckeditor/ckeditor5-autoformat": "ckeditor/ckeditor5-autoformat",
     "@ckeditor/ckeditor5-basic-styles": "ckeditor/ckeditor5-basic-styles",
     "@ckeditor/ckeditor5-block-quote": "ckeditor/ckeditor5-block-quote",
-    "@ckeditor/ckeditor5-build-balloon-toolbar": "ckeditor/ckeditor5-build-balloon-toolbar",
+    "@ckeditor/ckeditor5-build-balloon": "ckeditor/ckeditor5-build-balloon",
     "@ckeditor/ckeditor5-build-classic": "ckeditor/ckeditor5-build-classic",
     "@ckeditor/ckeditor5-build-inline": "ckeditor/ckeditor5-build-inline",
     "@ckeditor/ckeditor5-clipboard": "ckeditor/ckeditor5-clipboard",
     "@ckeditor/ckeditor5-core": "ckeditor/ckeditor5-core",
-    "@ckeditor/ckeditor5-editor-balloon-toolbar": "ckeditor/ckeditor5-editor-balloon-toolbar",
+    "@ckeditor/ckeditor5-editor-balloon": "ckeditor/ckeditor5-editor-balloon",
     "@ckeditor/ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic",
     "@ckeditor/ckeditor5-editor-inline": "ckeditor/ckeditor5-editor-inline",
     "@ckeditor/ckeditor5-engine": "ckeditor/ckeditor5-engine",

+ 3 - 3
package.json

@@ -12,12 +12,12 @@
     "@ckeditor/ckeditor5-autoformat": "^0.6.0",
     "@ckeditor/ckeditor5-basic-styles": "^0.9.0",
     "@ckeditor/ckeditor5-block-quote": "^0.2.0",
-    "@ckeditor/ckeditor5-build-balloon-toolbar": "^0.1.0",
+    "@ckeditor/ckeditor5-build-balloon": "^0.1.0",
     "@ckeditor/ckeditor5-build-classic": "^0.3.0",
     "@ckeditor/ckeditor5-build-inline": "^0.1.0",
     "@ckeditor/ckeditor5-clipboard": "^0.7.0",
     "@ckeditor/ckeditor5-core": "^0.9.0",
-    "@ckeditor/ckeditor5-editor-balloon-toolbar": "^0.1.0",
+    "@ckeditor/ckeditor5-editor-balloon": "^0.1.0",
     "@ckeditor/ckeditor5-editor-classic": "^0.8.0",
     "@ckeditor/ckeditor5-editor-inline": "^0.2.0",
     "@ckeditor/ckeditor5-engine": " v0.11.0",
@@ -45,7 +45,7 @@
     "gulp": "^3.9.1",
     "guppy-pre-commit": "^0.4.0",
     "lerna": "^2.0.0",
-    "mgit2": "^0.6.0"
+    "mgit2": "^0.7.2"
   },
   "engines": {
     "node": ">=6.0.0",