UNPKG

@kedao/editor

Version:

Rich Text Editor Based On Draft.js

60 lines (59 loc) 1.14 kB
export default function Controls(lang: any, editor: any): ({ key: string; title: any; text: JSX.Element; type: string; command: string; } | { key: string; title: any; type: string; text?: undefined; command?: undefined; } | { key: string; title: any; text: JSX.Element; type: string; command?: undefined; } | { key: string; type: string; title?: undefined; text?: undefined; command?: undefined; })[]; export declare const imageControlItems: { 'float-left': { text: JSX.Element; command: string; }; 'float-right': { text: JSX.Element; command: string; }; 'align-left': { text: JSX.Element; command: string; }; 'align-center': { text: JSX.Element; command: string; }; 'align-right': { text: JSX.Element; command: string; }; size: { text: JSX.Element; command: string; }; link: { text: JSX.Element; command: string; }; remove: { text: JSX.Element; command: string; }; };