strapi-plugin-jodit-editor
Version:
A powerful rich text editor plugin for Strapi v5 using the Jodit Editor with advanced formatting capabilities and seamless integration with Strapi's media library.
23 lines (22 loc) • 533 B
TypeScript
import React from 'react';
interface MediaFile {
id: number;
name: string;
alternativeText?: string;
url: string;
mime: string;
size: number;
width?: number;
height?: number;
formats?: any;
createdAt: string;
updatedAt: string;
}
interface MediaLibraryModalProps {
isOpen: boolean;
onClose: () => void;
onSelectAssets: (assets: MediaFile[]) => void;
multiple?: boolean;
}
declare const MediaLibraryModal: React.FC<MediaLibraryModalProps>;
export default MediaLibraryModal;