mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-03 08:04:29 -06:00
maxHeight option typings
This commit is contained in:
parent
d339c6af97
commit
2bd4b289b3
@ -165,6 +165,7 @@ const editorImagesCustom = new EasyMDE({
|
|||||||
|
|
||||||
new EasyMDE({
|
new EasyMDE({
|
||||||
sideBySideFullscreen: true,
|
sideBySideFullscreen: true,
|
||||||
|
maxHeight: false,
|
||||||
autosave: {
|
autosave: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
delay: 2000,
|
delay: 2000,
|
||||||
@ -182,6 +183,7 @@ new EasyMDE({
|
|||||||
|
|
||||||
new EasyMDE({
|
new EasyMDE({
|
||||||
sideBySideFullscreen: false,
|
sideBySideFullscreen: false,
|
||||||
|
maxHeight: '500px',
|
||||||
toolbar: [
|
toolbar: [
|
||||||
'bold',
|
'bold',
|
||||||
'italic',
|
'italic',
|
||||||
|
1
types/easymde.d.ts
vendored
1
types/easymde.d.ts
vendored
@ -172,6 +172,7 @@ declare namespace EasyMDE {
|
|||||||
insertTexts?: InsertTextOptions;
|
insertTexts?: InsertTextOptions;
|
||||||
lineWrapping?: boolean;
|
lineWrapping?: boolean;
|
||||||
minHeight?: string;
|
minHeight?: string;
|
||||||
|
maxHeight?: boolean | string;
|
||||||
parsingConfig?: ParsingOptions;
|
parsingConfig?: ParsingOptions;
|
||||||
placeholder?: string;
|
placeholder?: string;
|
||||||
previewClass?: string | ReadonlyArray<string>;
|
previewClass?: string | ReadonlyArray<string>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user