Skip to content

Commit

Permalink
fix(event): allow annotation.add and annotation.remove
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhg committed Dec 17, 2024
1 parent c43cd69 commit 64d54e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/editor/src/editor/create-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ export type EditorConfig = {
export type EditorEvent = PickFromUnion<
InternalEditorEvent,
'type',
| 'annotation.add'
| 'annotation.remove'
| 'annotation.toggle'
| 'blur'
| 'decorator.add'
Expand Down

0 comments on commit 64d54e3

Please sign in to comment.