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 manualsave()
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 whenreflow()
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 inexportFile
andgetFiles
. (ticket #204) thanks to @lamplightdev for the quick patch and @Gankro for the refactoring ofgetFiles
andexportFile
. - Theme paths with
http
orhttps
now will ignore thebasePath
option so you link some themes to external CSS. (ticket #196) - ๐ Fixed preview content not being updated when
autoSave
isfalse
. (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 theautosave
event as well as thesave
event now. Also note thatsave
will fire for implicit manual saves such asopen()
orimportFile()
.โก๏ธ 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 theREADME.md
, it'll runjake docs
for you. (326539a)
- There is now an