Current section

Files

Jump to
ckeditor5_phoenix dist hooks editor plugins phoenix-upload-adapter.d.ts
Raw

dist/hooks/editor/plugins/phoenix-upload-adapter.d.ts

import { PluginConstructor } from 'ckeditor5';
/**
* Creates a PhoenixUploadAdapter plugin class for CKEditor 5.
* This adapter handles image uploads to a Phoenix backend endpoint.
*/
export declare function createPhoenixUploadAdapterPlugin(): Promise<PluginConstructor>;
declare module 'ckeditor5' {
interface EditorConfig {
/**
* Configuration for Phoenix upload adapter.
*/
phoenixUpload?: {
/**
* The URL to which files will be uploaded.
*/
url: string;
};
}
}
//# sourceMappingURL=phoenix-upload-adapter.d.ts.map