8
0
Просмотр исходного кода

Minor wording improvements in the docs.

Piotrek Koszuliński 7 лет назад
Родитель
Сommit
b43f5554d6

+ 2 - 2
packages/ckeditor5-editor-decoupled/docs/framework/guides/document-editor.md

@@ -5,7 +5,7 @@ order: 30
 
 
 # Document editor
 # Document editor
 
 
-The {@link examples/builds/document-editor document editor example} showcases the {@link builds/guides/quick-start#document-editor document editor build} designed for document editing with a customized UI representing the layout of a sheet of paper. It was created on top of the {@link module:editor-decoupled/decouplededitor~DecoupledEditor `DecoupledEditor`} and makes the best of what it offers: the freedom to choose the location of the crucial UI elements in the application.
+The {@link examples/builds/document-editor document editor example} showcases the {@link builds/guides/quick-start#document-editor document editor build} designed for document editing with a customized UI representing the layout of a sheet of paper. It was created on top of the {@link module:editor-decoupled/decouplededitor~DecoupledEditor `DecoupledEditor`} class and makes the best of what it offers: the freedom to choose the location of the crucial UI elements in the application.
 
 
 In this tutorial you will learn how to create your own document editor with a customized user interface, step–by–step.
 In this tutorial you will learn how to create your own document editor with a customized user interface, step–by–step.
 
 
@@ -13,7 +13,7 @@ In this tutorial you will learn how to create your own document editor with a cu
 
 
 ## The editor
 ## The editor
 
 
-The `DecoupledDocumentEditor` includes all the necessary features for the task. All you need to do is import it and create a new instance.
+The document editor build includes all the necessary features for the task. All you need to do is import it and create a new instance.
 
 
 <info-box>
 <info-box>
 	See the {@link builds/guides/quick-start#document-editor quick start guide} to learn how to install the document editor build.
 	See the {@link builds/guides/quick-start#document-editor quick start guide} to learn how to install the document editor build.

+ 3 - 3
packages/ckeditor5-editor-decoupled/src/decouplededitor.js

@@ -31,11 +31,11 @@ import isElement from '@ckeditor/ckeditor5-utils/src/lib/lodash/isElement';
  * In order to create a decoupled editor instance, use the static
  * In order to create a decoupled editor instance, use the static
  * {@link module:editor-decoupled/decouplededitor~DecoupledEditor.create `DecoupledEditor.create()`} method.
  * {@link module:editor-decoupled/decouplededitor~DecoupledEditor.create `DecoupledEditor.create()`} method.
  *
  *
- * # Decoupled editor and document build
+ * # Decoupled editor and document editor build
  *
  *
  * The decoupled editor can be used directly from source (if you installed the
  * The decoupled editor can be used directly from source (if you installed the
  * [`@ckeditor/ckeditor5-editor-decoupled`](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-decoupled) package)
  * [`@ckeditor/ckeditor5-editor-decoupled`](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-decoupled) package)
- * but it is also available in the {@glink builds/guides/overview#document-editor document build}.
+ * but it is also available in the {@glink builds/guides/overview#document-editor document editor build}.
  *
  *
  * {@glink builds/guides/overview Builds} are ready-to-use editors with plugins bundled in. When using the editor from
  * {@glink builds/guides/overview Builds} are ready-to-use editors with plugins bundled in. When using the editor from
  * source you need to take care of loading all plugins by yourself
  * source you need to take care of loading all plugins by yourself
@@ -123,7 +123,7 @@ export default class DecoupledEditor extends Editor {
 	/**
 	/**
 	 * Creates a decoupled editor instance.
 	 * Creates a decoupled editor instance.
 	 *
 	 *
-	 * Creating an instance when using the {@glink builds/index CKEditor build}:
+	 * Creating an instance when using the {@glink builds/index CKEditor 5 build}:
 	 *
 	 *
 	 *		DecoupledEditor
 	 *		DecoupledEditor
 	 *			.create( document.querySelector( '#editor' ) )
 	 *			.create( document.querySelector( '#editor' ) )