refactor(ckeditor5): add explicit override

This commit is contained in:
Elian Doran
2025-05-29 13:22:38 +03:00
parent 74b7420942
commit 3eddb55aa2
5 changed files with 9 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ abstract class MoveBlockUpDownCommand extends Command {
abstract getSibling(selectedBlock: Element);
abstract get offset(): "before" | "after";
refresh() {
override refresh() {
const selection = this.editor.model.document.selection;
const selectedBlocks = this.getSelectedBlocks(selection);
@@ -44,7 +44,7 @@ abstract class MoveBlockUpDownCommand extends Command {
}
}
execute() {
override execute() {
const model = this.editor.model;
const selection = model.document.selection;
const selectedBlocks = this.getSelectedBlocks(selection);