Current section

Files

Jump to
ckeditor5_phoenix dist hooks editor plugins sync-editor-with-phoenix.d.ts
Raw

dist/hooks/editor/plugins/sync-editor-with-phoenix.d.ts

import { PluginConstructor } from 'ckeditor5';
import { EditorId } from '../typings';
/**
* Creates a SyncEditorWithPhoenix plugin class.
*/
export declare function createSyncEditorWithPhoenixPlugin(options: Attrs): Promise<PluginConstructor>;
type Attrs = {
editorId: EditorId;
saveDebounceMs: number;
events: {
change: boolean;
focus: boolean;
blur: boolean;
};
pushEvent: (event: string, payload: any) => void;
handleEvent: (event: string, callback: (payload: any) => void) => void;
};
export {};
//# sourceMappingURL=sync-editor-with-phoenix.d.ts.map