Browse Source

Other: Rename 'alignmentDropdown' to 'alignment' ui component in docs.

Maciej Gołaszewski 7 years ago
parent
commit
9489425c36

+ 1 - 1
packages/ckeditor5-alignment/docs/_snippets/features/custom-text-alignment-options.js

@@ -11,7 +11,7 @@ ClassicEditor
 	.create( document.querySelector( '#snippet-custom-text-alignment-options' ), {
 	.create( document.querySelector( '#snippet-custom-text-alignment-options' ), {
 		toolbar: {
 		toolbar: {
 			items: [
 			items: [
-				'heading', '|', 'bulletedList', 'numberedList', 'alignmentDropdown', 'undo', 'redo'
+				'heading', '|', 'bulletedList', 'numberedList', 'alignment', 'undo', 'redo'
 			],
 			],
 			viewportTopOffset: 60
 			viewportTopOffset: 60
 		},
 		},

+ 1 - 1
packages/ckeditor5-alignment/docs/_snippets/features/text-alignment.js

@@ -9,7 +9,7 @@ ClassicEditor
 	.create( document.querySelector( '#snippet-text-alignment' ), {
 	.create( document.querySelector( '#snippet-text-alignment' ), {
 		toolbar: {
 		toolbar: {
 			items: [
 			items: [
-				'heading', '|', 'bulletedList', 'numberedList', 'alignmentDropdown', 'undo', 'redo'
+				'heading', '|', 'bulletedList', 'numberedList', 'alignment', 'undo', 'redo'
 			],
 			],
 			viewportTopOffset: 60
 			viewportTopOffset: 60
 		}
 		}

+ 1 - 1
packages/ckeditor5-alignment/src/alignmentui.js

@@ -29,7 +29,7 @@ const icons = new Map( [
  * The default alignment UI plugin.
  * The default alignment UI plugin.
  *
  *
  * It introduces the `'alignment:left'`, `'alignment:right'`, `'alignment:center'` and `'alignment:justify'` buttons
  * It introduces the `'alignment:left'`, `'alignment:right'`, `'alignment:center'` and `'alignment:justify'` buttons
- * and the `'alignmentDropdown'` drop-down.
+ * and the `'alignment'` drop-down.
  *
  *
  * @extends module:core/plugin~Plugin
  * @extends module:core/plugin~Plugin
  */
  */