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

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

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

+ 2 - 2
packages/ckeditor5-link/src/link.js

@@ -12,9 +12,9 @@ import LinkEditing from './linkediting';
 import LinkUI from './linkui';
 
 /**
- * The link plugin. It introduces the Link and Unlink buttons and the <kbd>Ctrl+K</kbd> keystroke.
+ * The link plugin.
  *
- * It loads the {@link module:link/linkediting~LinkEditing link editing feature}
+ * This is a "glue" plugin which loads the {@link module:link/linkediting~LinkEditing link editing feature}
  * and {@link module:link/linkui~LinkUI link UI feature}.
  *
  * @extends module:core/plugin~Plugin

+ 2 - 1
packages/ckeditor5-link/src/linkediting.js

@@ -24,7 +24,8 @@ const HIGHLIGHT_CLASS = 'ck-link_selected';
 /**
  * The link engine feature.
  *
- * It introduces the `linkHref="url"` attribute in the model which renders to the view as a `<a href="url">` element.
+ * It introduces the `linkHref="url"` attribute in the model which renders to the view as a `<a href="url">` element
+ * as well as `'link'` and `'unlink'` commands.
  *
  * @extends module:core/plugin~Plugin
  */

+ 1 - 1
packages/ckeditor5-link/src/linkui.js

@@ -24,7 +24,7 @@ import linkIcon from '../theme/icons/link.svg';
 const linkKeystroke = 'Ctrl+K';
 
 /**
- * The link UI plugin. It introduces the Link and Unlink buttons and the <kbd>Ctrl+K</kbd> keystroke.
+ * The link UI plugin. It introduces the `'link'` and `'unlink'` buttons and support for the <kbd>Ctrl+K</kbd> keystroke.
  *
  * It uses the
  * {@link module:ui/panel/balloon/contextualballoon~ContextualBalloon contextual balloon plugin}.