|
@@ -13,15 +13,15 @@ You can edit existing links by clicking them and using the balloon. Use the tool
|
|
|
|
|
|
|
|
### Typing around links
|
|
### Typing around links
|
|
|
|
|
|
|
|
-CKEditor allows typing both at inner and outer boundaries of links to make the editing easier for the users.
|
|
|
|
|
|
|
+CKEditor 5 allows typing both at inner and outer boundaries of links to make the editing easier for the users.
|
|
|
|
|
|
|
|
**To type inside a link**, move the caret to its (start or end) boundary. As long as the link remains highlighted blue, typing and and applying formatting will be done within its boundaries:
|
|
**To type inside a link**, move the caret to its (start or end) boundary. As long as the link remains highlighted blue, typing and and applying formatting will be done within its boundaries:
|
|
|
|
|
|
|
|
-{@img assets/img/typing-inside.gif 770 The animation showing typing inside the link.}
|
|
|
|
|
|
|
+{@img assets/img/typing-inside.gif 770 The animation showing typing inside the link in CKEditor 5 rich text editor.}
|
|
|
|
|
|
|
|
**To type before or after a link**, move the caret to its boundary, then press the arrow key (<kbd>→</kbd> or <kbd>←</kbd>) once. The link is no longer highlighted and whatever text you type or formatting you apply will not be enclosed by a link:
|
|
**To type before or after a link**, move the caret to its boundary, then press the arrow key (<kbd>→</kbd> or <kbd>←</kbd>) once. The link is no longer highlighted and whatever text you type or formatting you apply will not be enclosed by a link:
|
|
|
|
|
|
|
|
-{@img assets/img/typing-before.gif 770 The animation showing typing before the link.}
|
|
|
|
|
|
|
+{@img assets/img/typing-before.gif 770 The animation showing typing before the link in CKEditor 5 rich text editor.}
|
|
|
|
|
|
|
|
## Installation
|
|
## Installation
|
|
|
|
|
|
|
@@ -54,7 +54,7 @@ ClassicEditor
|
|
|
The {@link module:link/link~Link} plugin registers the UI button component (`'link'`) and the following commands:
|
|
The {@link module:link/link~Link} plugin registers the UI button component (`'link'`) and the following commands:
|
|
|
|
|
|
|
|
* The `'link'` command implemented by {@link module:link/linkcommand~LinkCommand}.
|
|
* The `'link'` command implemented by {@link module:link/linkcommand~LinkCommand}.
|
|
|
-* The `'unlink'` command implemented by {@link module:link/unlinkcommand~UnlinkCommand}
|
|
|
|
|
|
|
+* The `'unlink'` command implemented by {@link module:link/unlinkcommand~UnlinkCommand}.
|
|
|
|
|
|
|
|
which can be executed using the {@link module:core/editor/editor~Editor#execute `editor.execute()`} method:
|
|
which can be executed using the {@link module:core/editor/editor~Editor#execute `editor.execute()`} method:
|
|
|
|
|
|