Merge branch 'editorPost' into dev arreglando configuracion del editor markdown

This commit is contained in:
francisco-solis99 2022-02-21 11:43:50 -06:00
commit 18a0b441db

View file

@ -21,7 +21,7 @@ const easyMDE = new EasyMDE({
},
text: "Autosaved: "
},
unorderedListStyle: "-", //change por *
unorderedListStyle: "-", //usar - y * para list bullet
forceSync: true, //force text changes made in EasyMDE to be immediately stored in original text area.
// insertTexts: {
// horizontalRule: ["", "\n\n-----\n\n"],
@ -29,27 +29,29 @@ const easyMDE = new EasyMDE({
// link: ["[", "](https://)"],
// table: ["", "\n\n| Column 1 | Column 2 | Column 3 |\n| -------- | -------- | -------- |\n| Text | Text | Text |\n\n"],
// }
// lineNumbers: true
parsingConfig: {
allowAtxHeaderWithoutSpace: true, //render header after space
strikethrough: false,
underscoresBreakWords: true, //3 underscores to delimited
},
previewClass: "my-custom-styling", //class of CSS to customized the editor-preview
promptURLs: true, // a JS alert window appears asking for the link or image URL.
// promptTexts: {
// image: "Custom prompt for URL:",
// link: "Custom prompt for URL:"
// }
uploadImage: true, //enables the image upload functionality
imageMaxSize: 1024*1024,
shortcuts: {
drawTable: "Ctrl-Alt-T"
},
showIcons: ["code", "table"],
spellChecker: true,
sideBySideFullscreen: false,
status: ["autosave", "lines", "words", "cursor"],
syncSideBySidePreviewScroll: false,
showIcons: ['strikethrough', 'code', 'table', 'redo', 'heading', 'undo', 'clean-block', 'horizontal-rule']
});
showIcons: ['strikethrough', 'code', 'table', 'redo', 'heading', 'undo', 'clean-block', 'horizontal-rule'],
promptURLs: true, // a JS alert window appears asking for the link or image URL.
// otras opciones
// uploadImage: true, //enables the image upload functionality
// promptTexts: {
// image: "Custom prompt for URL:",
// link: "Custom prompt for URL:"
// }
// syncSideBySidePreviewScroll: false,
// previewClass: "my-custom-styling", //class of CSS to customized the editor-preview
// lineNumbers: true
});