mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 23:59:02 +02:00
chore(ckeditor5): fix references: DocumentSelection -> ModelDocumentSelection
This commit is contained in:
parent
4e97490cc6
commit
1566ae4fbd
@ -2,7 +2,7 @@
|
|||||||
* https://github.com/TriliumNext/Trilium/issues/1002
|
* https://github.com/TriliumNext/Trilium/issues/1002
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Command, DocumentSelection, ModelElement, ModelNode, Plugin, ModelRange } from 'ckeditor5';
|
import { Command, ModelDocumentSelection, ModelElement, ModelNode, Plugin, ModelRange } from 'ckeditor5';
|
||||||
export default class MoveBlockUpDownPlugin extends Plugin {
|
export default class MoveBlockUpDownPlugin extends Plugin {
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
@ -105,7 +105,7 @@ abstract class MoveBlockUpDownCommand extends Command {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
getSelectedBlocks(selection: DocumentSelection) {
|
getSelectedBlocks(selection: ModelDocumentSelection) {
|
||||||
const blocks = [...selection.getSelectedBlocks()];
|
const blocks = [...selection.getSelectedBlocks()];
|
||||||
const resolved: ModelElement[] = [];
|
const resolved: ModelElement[] = [];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user