|
|
@ -46,11 +46,19 @@ type ToolbarButton =
|
|
|
|
| 'guide';
|
|
|
|
| 'guide';
|
|
|
|
|
|
|
|
|
|
|
|
declare namespace EasyMDE {
|
|
|
|
declare namespace EasyMDE {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
interface TimeFormatOptions {
|
|
|
|
|
|
|
|
locale?: string | string[];
|
|
|
|
|
|
|
|
format?: Intl.DateTimeFormatOptions;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
interface AutoSaveOptions {
|
|
|
|
interface AutoSaveOptions {
|
|
|
|
enabled?: boolean;
|
|
|
|
enabled?: boolean;
|
|
|
|
delay?: number;
|
|
|
|
delay?: number;
|
|
|
|
submit_delay?: number;
|
|
|
|
submit_delay?: number;
|
|
|
|
uniqueId: string;
|
|
|
|
uniqueId: string;
|
|
|
|
|
|
|
|
timeFormat?: TimeFormatOptions;
|
|
|
|
|
|
|
|
text?: string;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
interface BlockStyleOptions {
|
|
|
|
interface BlockStyleOptions {
|
|
|
|