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

Docs: Improved links between API and guides. See ckeditor/ckeditor5#1090.

Piotrek Koszuliński 7 лет назад
Родитель
Сommit
c883c263b6
2 измененных файлов с 4 добавлено и 4 удалено
  1. 1 1
      packages/ckeditor5-core/docs/api/core.md
  2. 3 3
      packages/ckeditor5-core/src/command.js

+ 1 - 1
packages/ckeditor5-core/docs/api/core.md

@@ -12,7 +12,7 @@ Together with the {@link api/engine editing engine} and the {@link api/ui standa
 
 
 ## Documentation
 ## Documentation
 
 
-See the introduction to the {@link framework/guides/architecture/intro#core-editor-architecture core editor's architecture}.
+See the introduction to the {@link framework/guides/architecture/core-editor-architecture core editor architecture}.
 
 
 You can also browse the API documentation of this package by using the module tree on the left.
 You can also browse the API documentation of this package by using the module tree on the left.
 
 

+ 3 - 3
packages/ckeditor5-core/src/command.js

@@ -42,10 +42,10 @@ export default class Command {
 		/**
 		/**
 		 * The value of the command. A concrete command class should define what it represents for it.
 		 * The value of the command. A concrete command class should define what it represents for it.
 		 *
 		 *
-		 * For example, the `bold` command's value indicates whether the selection starts in a bolded text.
-		 * And the value of the `link` command may be an object with links details.
+		 * For example, the `'bold'` command's value indicates whether the selection starts in a bolded text.
+		 * And the value of the `'link'` command may be an object with links details.
 		 *
 		 *
-		 * It is possible for a command to have no value (e.g. for stateless actions such as `imageUpload`).
+		 * It is possible for a command to have no value (e.g. for stateless actions such as `'imageUpload'`).
 		 *
 		 *
 		 * A concrete command class should control this value by overriding the {@link #refresh `refresh()`} method.
 		 * A concrete command class should control this value by overriding the {@link #refresh `refresh()`} method.
 		 *
 		 *