17 KiB
17 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.
Unreleased
Added
Fixed
- URLs with certain characters entered through prompts causing invalid markdown (Thanks to @Zignature, #393).
- Autofocus option not working properly (#399).
2.16.1 - 2022-01-14
Fixed
- Incorrect initial line and column count in status bar.
- Security issue in
marked
dependency.
2.16.0 - 2022-01-11
Added
direction
option to enable RTL mode (Thanks to @souljuse, #358).attributes
option to add custom attributes to toolbar buttons (Thanks to @Zignature, #388).unorderedListStyle
option 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
imagePathAbsolute
option to return the absolute path when uploading an image (Thanks to @wwsalmon, #313).
Fixed
ToolbarIcon
typings, 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
sideBySideFullscreen
andstatus
were 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
sideBySideFullscreen
and the preview state (Thanks to @smundro, #286) - Refactored strange method of padding the toolbar into regular padding (Thanks to @sn3p, #293).
- Security issue in
marked
dependency (Thanks to @dependabot, #298).
2.13.0 - 2020-11-11
Added
- CodeMirror autorefresh plugin and autoRefresh option (Thanks to @mbolli, #249).
lineNumbers
option 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
previewImagesInEditor
option tofalse
by default (#251).
2.12.0 - 2020-09-29
Added
this
context in imageUploadFunction (Thanks to @JoshuaLicense, #225).previewImagesInEditor
option to display images in editor mode (Thanks to @ivictbor, #235).overlayMode
options to supply an additional codemirror mode (Thanks to @czynskee, #244).
Fixed
- Corrected default size units from
b,Kb,Mb
toB, 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
inputStyle
andnativeSpellcheck
options to manage the native language of the browser (Thanks to @firm1, #143).- Group buttons in drop-down lists by adding a sub-option
children
for the items in the toolbar (Thanks to @firm1, #141). sanitizerFunction
option 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_delay
instead ofautosave.delay
(Thanks to @Situphen, #139). - Add
watch
task 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
previewClass
option 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-redo
class 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
@next
version 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).
main
file 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-2
andheading-3
not 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