mirror of
https://github.com/heyman/heynote.git
synced 2024-12-11 09:11:31 +01:00
4b39078689
Support cache of multiple Editor instances. Change so that current note name is included in the event data dispatched by emitCursorChange.
10 lines
411 B
JavaScript
10 lines
411 B
JavaScript
import { Annotation } from "@codemirror/state"
|
|
|
|
export const heynoteEvent = Annotation.define()
|
|
export const LANGUAGE_CHANGE = "heynote-change"
|
|
export const CURRENCIES_LOADED = "heynote-currencies-loaded"
|
|
export const SET_CONTENT = "heynote-set-content"
|
|
export const ADD_NEW_BLOCK = "heynote-add-new-block"
|
|
export const DELETE_BLOCK = "heynote-delete-block"
|
|
export const CURSOR_CHANGE = "heynote-cursor-change"
|