refactor(editor): Add types to htmlEditorEventBus (no-changelog) (#10498)
This commit is contained in:
@@ -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<HtmlEditorEventBusEvents>();
|
||||
|
||||
Reference in New Issue
Block a user