mirror of
https://github.com/zadam/trilium.git
synced 2025-12-04 22:44:25 +01:00
fix typings for creating a note using mentions in ckeditor
This commit is contained in:
parent
2b55db05e1
commit
cb5954e8c7
@ -1,5 +1,5 @@
|
||||
import { Command, Mention, Plugin, ModelRange, type ModelSelectable } from "ckeditor5";
|
||||
import { type CreateNoteAction } from "@triliumnext/commons"
|
||||
import { CreateNoteAction } from "@triliumnext/commons"
|
||||
|
||||
/**
|
||||
* Overrides the actions taken by the Mentions plugin (triggered by `@` in the text editor, or `~` & `#` in the attribute editor):
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
export enum CreateNoteAction {
|
||||
CreateNoteIntoInbox,
|
||||
CreateNoteIntoPath,
|
||||
CreateAndLinkNoteIntoInbox,
|
||||
CreateAndLinkNoteIntoPath
|
||||
CreateNoteIntoInbox = "create-note-into-inbox",
|
||||
CreateNoteIntoPath = "create-note-into-path",
|
||||
CreateAndLinkNoteIntoInbox = "create-and-link-note-into-inbox",
|
||||
CreateAndLinkNoteIntoPath = "create-and-link-note-into-path"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user