diff --git a/packages/editor-ui/src/event-bus/html-editor.ts b/packages/editor-ui/src/event-bus/html-editor.ts index 7a53bf86a4..e40e7dd16c 100644 --- a/packages/editor-ui/src/event-bus/html-editor.ts +++ b/packages/editor-ui/src/event-bus/html-editor.ts @@ -1,3 +1,8 @@ import { createEventBus } from 'n8n-design-system/utils'; -export const htmlEditorEventBus = createEventBus(); +export interface HtmlEditorEventBusEvents { + /** Command to format the content in the HtmlEditor */ + 'format-html': never; +} + +export const htmlEditorEventBus = createEventBus();