diff --git a/packages/ckeditor5/src/plugins/mention_customization.ts b/packages/ckeditor5/src/plugins/mention_customization.ts index 9b8db2c5c..c8cd9f003 100644 --- a/packages/ckeditor5/src/plugins/mention_customization.ts +++ b/packages/ckeditor5/src/plugins/mention_customization.ts @@ -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): diff --git a/packages/commons/src/lib/create_note_actions.ts b/packages/commons/src/lib/create_note_actions.ts index 6b6594963..beb1c96dd 100644 --- a/packages/commons/src/lib/create_note_actions.ts +++ b/packages/commons/src/lib/create_note_actions.ts @@ -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" }