Explorar el Código

Used better name for the method that handles the action.

Kamil Piechaczek hace 5 años
padre
commit
b56854d467
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;