mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
refactor(ckeditor5): add explicit override
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user