EpicEditor v0.2.1 Release Notes

Release Date: 2013-07-07 // about 10 years ago
  • ๐Ÿ†• New Features

    • There is now an autosave event so you can tell the difference between manual save()s and autosaves. It'll also only fire when the content has been changed since the last save. (ticket #233) thanks @Gankro
    • ๐Ÿ’ป There's now a focus() method which you can use to easily focus on the editor. It handles cross browser differences as well as figuring out what to focus on (editor or previewer). (ticket #223)
    • If you wanted to hide / disable the fullscreen and/or preview toggle buttons, now you can (ticket #214) thanks @dobozysaurus
    • There is now a reflow event you can hook into to know when reflow() has been called. (ticket #210)
    • You can now customize the text of the tooltips that show up when hovering the icons like Preview, Edit, and Fullscreen. Useful for i18n (ticket #156) thanks @cmtt
    • โฌ†๏ธ The default Markdown parser, Marked, was upgraded giving you support for GitHub flavored tables, strikethroughs and breaks. (ticket #197)
    • ๐Ÿ”€ Using the textarea option, you can now sync a textarea with the content of the editor. Useful for when you don't want to setup an AJAX form but want to use EE as a textarea replacement. (ticket #107) (ticket #140) (ticket #212)
    • ๐Ÿ‘ Firefox now uses native fullscreen, and EpicEditor also support W3C fullscreen standard (ticket #22) thanks @nkovacs

    โšก๏ธ Updates and Major Bug Fixes

    • ๐Ÿ›  Fix for Firefox returning  s in exported file contents in exportFile and getFiles. (ticket #204) thanks to @lamplightdev for the quick patch and @Gankro for the refactoring of getFiles and exportFile.
    • Theme paths with http or https now will ignore the basePath option so you link some themes to external CSS. (ticket #196)
    • ๐Ÿ›  Fixed preview content not being updated when autoSave is false. (ticket #195)
    • ๐Ÿ›  Fixed scrolling the whole web page when you clicked a hash link inside of EpicEditor in IE9 (ticket #165)
    • Cursor position is no longer lost when switching from preview to edit or vice versa in Firefox (ticket #139)
    • ๐Ÿ›  Fixed bug where, after doing the preview toggle keyboard shortcut in IE9, you'd lose focus on the editor (ticket #134)
    • ๐Ÿ›  Fixed IE9 fullscreen shortcut is triggering menu by changing the shortcut on windows to ctrl+alt+f (ticket #82)

    API Changes

    ๐Ÿš€ The only API change for this release is that the save event will no longer fire for autosaves. If you want to catch both you will need to listen for the autosave event as well as the save event now. Also note that save will fire for implicit manual saves such as open() or importFile().

    โšก๏ธ Behind-the-scenes Updates

    • โž• Added .editorconfig file to make it easy for developers to follow code style. (ticket #220) thanks @hongymagic
    • โž• Added jake watch which will automatically rebuild all the editor files if you modify src/* or if you edit the README.md, it'll run jake docs for you. (326539a)