mirror of
https://github.com/zadam/trilium.git
synced 2025-12-21 07:39:55 +01:00
chore(ckeditor5): fix references: Position -> ModelPosition
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* https://github.com/TriliumNext/Trilium/issues/1002
|
||||
*/
|
||||
|
||||
import { Command, DocumentSelection, ModelElement, Node, Plugin, Range } from 'ckeditor5';
|
||||
import { Command, DocumentSelection, ModelElement, ModelNode, Plugin, Range } from 'ckeditor5';
|
||||
export default class MoveBlockUpDownPlugin extends Plugin {
|
||||
|
||||
init() {
|
||||
@@ -46,7 +46,7 @@ export default class MoveBlockUpDownPlugin extends Plugin {
|
||||
|
||||
abstract class MoveBlockUpDownCommand extends Command {
|
||||
|
||||
abstract getSibling(selectedBlock: ModelElement): Node | null;
|
||||
abstract getSibling(selectedBlock: ModelElement): ModelNode | null;
|
||||
abstract get offset(): "before" | "after";
|
||||
|
||||
override execute() {
|
||||
|
||||
Reference in New Issue
Block a user