mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-12-14 13:14:55 -07:00
23 KiB
23 KiB
EasyMDE Changelog
All notable changes to EasyMDE will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.20.0 - 2025-03-04
Added
- Support for
markedextensions (Thanks to @codingjoe, #611, #514).
2.19.0 - 2025-02-18
Added
updateStatusBartype to typescript definitions (Thanks to @borodean, #519)."upload-image"option to theToolbarButtontypescript definitions (Thanks to @borodean, #520).imageInputNameoption to set a custom "name" attribute for the image input (Thanks to @robinvandernoord, #573).
Fixed
- Relative image paths using the stylesheet as the source instead of the document (Thanks to @p1gp1g, #591).
- Excessive memory usage with the
previewImagesInEditoroption (Thanks to @p1gp1g, #592). - Parentheses in the alt text of images causing the image not to load then using
previewImagesInEditor(Thanks to @mayraamaral, #608).
2.18.0 - 2022-09-20
Added
toolbarButtonClassPrefixoption to resolve conflicts with Bootstrap classes (#493).
2.17.0 - 2022-08-20
Added
- Improved CSRF support for uploading images (Thanks to @ZsgsDesign, #394).
- Option to register an image preview handler:
imagesPreviewHandler(Thanks to @diego-gw, #411). - Support for
.webpimage formats (Thanks to @sghoweri, #417). toggleHeadingmethods for headings 4, 5 and 6 (Thanks to @vanillajonathan, #449 and #492).- Support for
.gif,.avifand.apngimage formats (Thanks to @vanillajonathan, #450, #458 and #459). - Keyboard shortcuts for
toggleHeadingmethods (Thanks to @vanillajonathan, #451). iconClassMapoption to specify icon class names for toolbar buttons (Thanks to @vanillajonathan, #454).role="toolbar"on the toolbar element (Thanks to @vanillajonathan, #455).- Support for text buttons in the toolbar (Thanks to @vanillajonathan, #461).
aria-labelattribute for toolbar buttons (uses thetitleoption) (Thanks to @vanillajonathan, #463).role="application"on the editor container element (Thanks to @vanillajonathan, #464).- Option to not overwrite the preview HTML by returning
nullfrompreviewRender(Thanks to @LevitatingOrange, #471).
Fixed
- Hyperlink doubling (Thanks to @danielok1993, #95).
- URLs with certain characters entered through prompts causing invalid markdown (Thanks to @Zignature, #393).
- Autofocus option not working properly (#399).
- Inconsistent border colour (Thanks to @vanillajonathan, #466).
- Invalid regex on Safari browsers (#478)
hideIconsoption type (Thanks to @LoyalPotato, #488).
Changed
- Editor now uses responsive font sizes (Thanks to @vanillajonathan, #452).
Documentation
- Added several improvements to README (Thanks to @vanillajonathan, #436, #438, #440, #444).
- Fixed typo in README (Thanks to @kicksent, #484).
- Added missing icon for
upload-imagein README (Thanks to @hlf20010508, #486).
2.16.1 - 2022-01-14
Fixed
- Incorrect initial line and column count in status bar.
- Security issue in
markeddependency.
2.16.0 - 2022-01-11
Added
directionoption to enable RTL mode (Thanks to @souljuse, #358).attributesoption to add custom attributes to toolbar buttons (Thanks to @Zignature, #388).unorderedListStyleoption to change the character used for unordered lists (Thanks to @Zignature, #389).
Fixed
- Image extension detection when extension is uppercase (Thanks to @ukjinjang, #357).
- Submenu actions not working in Chromium Browsers (Thanks to @Offerel, @robjean9 and @kelvinj, #364).
- Incorrect line and column count in status bar (Thanks to @Zignature, #384).
2.15.0 - 2021-04-22
Added
imagePathAbsoluteoption to return the absolute path when uploading an image (Thanks to @wwsalmon, #313).
Fixed
ToolbarIcontypings, addedicon(Thanks to @ChronosMasterOfAllTime, #308).- Image link extension when it was not the last part of the URL (Thanks to @deerboy, #311).
- Preview mode did not stay enabled when toggling to fullscreen (Thanks to @smundro, #316).
- Required typings not being included in
dependencies(Thanks to @marekdedic, #322).
2.14.0 - 2021-02-14
Added
Fixed
- Issues with images not displaying correctly in the preview screen (Thanks to @ivictbor, #253).
- An error when both
sideBySideFullscreenandstatuswere set tofalse(Thanks to @joahim, #272). - Editor trying to display non-image files (Thanks to @Juupaa, #277)
- Unneeded call to
window.removeEventListener(Thanks to @emirotin, #280) - Spell checker (Thanks to @Fanvadar, #284).
- Focus issues with toolbar dropdown menus (Thanks to @Situphen, #285).
- Interaction between the
sideBySideFullscreenand the preview state (Thanks to @smundro, #286) - Refactored strange method of padding the toolbar into regular padding (Thanks to @sn3p, #293).
- Security issue in
markeddependency (Thanks to @dependabot, #298).
2.13.0 - 2020-11-11
Added
- CodeMirror autorefresh plugin and autoRefresh option (Thanks to @mbolli, #249).
lineNumbersoption to display line numbers in the editor (Thanks to @nhymxu, #267).
Fixed
- CSS scoping issues when the editor is used in combination with other CodeMirror instances (#252).
2.12.1 - 2020-10-06
Changed
- Set
previewImagesInEditoroption tofalseby default (#251).
2.12.0 - 2020-09-29
Added
thiscontext in imageUploadFunction (Thanks to @JoshuaLicense, #225).previewImagesInEditoroption to display images in editor mode (Thanks to @ivictbor, #235).overlayModeoptions to supply an additional codemirror mode (Thanks to @czynskee, #244).
Fixed
- Corrected default size units from
b,Kb,MbtoB, KB, MB(#239). - Max height less than min height (Thanks to @nick-denry, #222).
- toTextArea issue (Thanks to @nick-denry, #223).
- Error when updateStatusBar was called during image upload, but the status bar is disabled (Thanks to @JoshuaLicense, #224).
2.11.0 - 2020-07-16
Added
- Support for Node.js 14.
- Preview without fullscreen (Thanks to @nick-denry, #196).
Fixed
- Fix cursor displayed position on activity (Thanks to @firm1, #184).
- Checkboxes always have bullets in front of them (#136).
- Save the text only when modifying the content of the easymde instance (Thanks to @firm1, #181).
2.10.1 - 2020-04-06
Fixed
- Typescript error when entering certain strings for toolbar buttons (#178).
2.10.0 - 2020-04-02
Added
inputStyleandnativeSpellcheckoptions to manage the native language of the browser (Thanks to @firm1, #143).- Group buttons in drop-down lists by adding a sub-option
childrenfor the items in the toolbar (Thanks to @firm1, #141). sanitizerFunctionoption to allow custom HTML sanitizing in the markdown preview (Thanks to @adamb70, #147).- Time formatting and custom text options for the autosave message (Thanks to @dima-bzz, #170).
Changed
- Delay before assuming that submit of the form as failed is
autosave.submit_delayinstead ofautosave.delay(Thanks to @Situphen, #139). - Add
watchtask for gulp (Thanks to @A-312, #150).
Fixed
- Issue with Marked when using IE11 and webpack (Thanks to @felipefdl, #169).
- Updated codemirror to version 5.52.2 (Thanks to @A-312, #173).
- Editor displaying on top of other elements on a webpage (Thanks to @StefKors, #175).
2.9.0 - 2020-01-13
Added
- Missing minHeight option in type definition (Thanks to @t49tran, #123).
- Other missing type definitions (#126).
Changed
- The editor will remove its saved contents when the editor is emptied, allowing to reload a default value (Thanks to @Situphen, #132).
2.8.0 - 2019-08-20
Added
- Upload images functionality (Thanks to @roipoussiere and @JeroenvO, #71, #101).
- Allow custom image upload function (Thanks to @sperezp, #106).
- More polish to the upload images functionality (Thanks to @jfly, #109).
- Improved React compatibility (Thanks to @richtera, #97).
Fixed
- Missing link in dist file header.
2.7.0 - 2019-07-13
Added
previewClassoption for overwriting the preview screen class (#99).
Fixed
- Updated dependencies to resolve potential security issue.
- Resolved small code style issues shown by new eslint rules.
2.6.1 - 2019-06-17
Fixed
- Error when toggling between ordered and unordered lists (Thanks to @roryok, #93).
- Keyboard shortcuts for custom actions not working (Thanks to @ysykzheng, #75).
2.6.0 - 2019-04-15
Added
- Contributing guide (Thanks to @roipoussiere, #54).
- Issue templates.
- Standardized changelog file.
Changed
- Finish rewrite of README (Thanks to @roipoussiere, #54).
- Image and link prompt fill with "https://" by default.
- Link to markdown guide to https://www.markdownguide.org/basic-syntax/.
Fixed
- Backwards compatibility in the API with SimpleMDE 1.0.0 (#41).
- Automatic publish of master branch to
@next
Removed
- Distribution files from source-control.
2.5.1 - 2019-01-17
Fixed
role="button"needed to betype="button"(#45).
2.5.0 - 2019-01-17
Added
- Typescript support (Thanks to @FranklinWhale, #44).
role="button"to toolbar buttons (#38).
Fixed
- Eraser icon not working with FontAwesome 5.
2.4.2 - 2018-11-09
Added
- Node.js 11 support.
Fixed
- Header button icons not showing sub-icons with FontAwesome 5.
- Inconsistent autosave behaviour when submitting a form (Thanks to @Furgas and @adamb70, #31).
2.4.1 - 2018-10-15
Added
fa-redoclass to redo button for FA5 compatibility (Thanks to @Summon528, #27).
2.4.0 - 2018-10-15
Added
- Theming support (Thanks to @LeviticusMB, #17).
- onToggleFullscreen event hook (Thanks to @n-3-0, #16).
Fixed
2.2.2 - 2019-07-03
Fixed
- Automatic publish only publishing tags.
2.2.1 - 2019-06-29
Changed
- Attempt automatic publish
@nextversion on npm. - Links in the preview window will open in a new tab by default.
Fixed
- Multi-text select issue by disabling multi-select in the editor (#10).
mainfile in package.json (Thanks to @sne11ius, #11).
2.0.1 - 2018-05-13
Changed
- Rewrote part of the documentation for EasyMDE.
- Updated gulp to version 4.0.0.
Fixed
- Icons for
heading-smaller,heading-bigger,heading-1,heading-2andheading-3not showing (#9).
2.0.0 - 2018-04-23
Project forked from SimpleMDE
BREAKING CHANGES
- Dropped Bower support.
- Dropped support for older Node.js versions.
Added
- FontAwesome 5 support.
- Support for newer Node.js versions.
Changed
- Packages are now version-locked.
- Simplified build script.
- Markdown guide button is no longer disabled in preview mode.
Fixed
- Cursor not always showing in "text" mode over the edit field