Przeglądaj źródła

Used better name for the method that handles the action.

Kamil Piechaczek 5 lat temu
rodzic
commit
b56854d467
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      packages/ckeditor5-link/src/linkediting.js

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

@@ -119,7 +119,7 @@ export default class LinkEditing extends Plugin {
 		this._enableTypingOverLink();
 
 		// Handle removing the content after the link element.
-		this._enableRemovingLinkAttributesWhileRemovingEndOfLink();
+		this._handleDeleteContentAfterLink();
 	}
 
 	/**
@@ -450,7 +450,7 @@ export default class LinkEditing extends Plugin {
 	 *
 	 * @private
 	 */
-	_enableRemovingLinkAttributesWhileRemovingEndOfLink() {
+	_handleDeleteContentAfterLink() {
 		const editor = this.editor;
 		const model = editor.model;
 		const selection = model.document.selection;