2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-07-02 15:44:28 -06:00

maxHeight option typings

This commit is contained in:
Nick Denry 2020-06-03 17:30:13 +03:00
parent d339c6af97
commit 2bd4b289b3
2 changed files with 3 additions and 0 deletions

View File

@ -165,6 +165,7 @@ const editorImagesCustom = new EasyMDE({
new EasyMDE({
sideBySideFullscreen: true,
maxHeight: false,
autosave: {
enabled: true,
delay: 2000,
@ -182,6 +183,7 @@ new EasyMDE({
new EasyMDE({
sideBySideFullscreen: false,
maxHeight: '500px',
toolbar: [
'bold',
'italic',

1
types/easymde.d.ts vendored
View File

@ -172,6 +172,7 @@ declare namespace EasyMDE {
insertTexts?: InsertTextOptions;
lineWrapping?: boolean;
minHeight?: string;
maxHeight?: boolean | string;
parsingConfig?: ParsingOptions;
placeholder?: string;
previewClass?: string | ReadonlyArray<string>;