Releases: OscarGodson/EpicEditor
Releases · OscarGodson/EpicEditor
0.2.2
New Features
- Added autogrow support, so the editor will get taller as you type (ticket #132) thanks @Gankro
- You can now set the button bar to "show" (always on), "hide" (never show), and "auto" (default) (ticket #251) thanks @Gankro
exportFile
now supports ajson
export type (ticket #237) thanks @Gankro
Updates and Major Bug Fixes
- HTML is now stripped out when pasting (ticket #100) thanks @Gankro
- Fixed Chrome and IE9-10 replacing all spaces with
making wrapping change when you refresh (ticket #268) thanks @Gankro - Icons have been "retina-ified" (ticket #265) thanks @jpdevries
- Moved images to CSS rather than image tags to work better with asset pipelines (ticket #259) (#254) thanks @pbougie
0.2.1.1
Hotfixes
- Fix for  for every space at reload (ticket #248)
0.2.1
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 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 theREADME.md
, it'll runjake docs
for you. (326539a)
0.2.0
New Features
- Complete Fullscreen API set.
enterFullscreen()
andexitFullscreen()
methods andfullscreenenter
andfullscreenexit
events have been added (ticket #156) (ticket #146) - Added boolean
useNativeFullscreen
option (ticket #146) - Added
is()
method to get the state of the editor (ticket #88) - Added
reflow(['width'|'height'])
method to automatically refit the editor in the parent (ticket #160)
Updates and Major Bug Fixes
- Fixed character encoding bug causing strange characters over the wire in Chrome (ticket #184)
- Fixed Firefox losing space characters (ticket #178)
- Removed alt+o key command because it was causing problems on non-western keyboards and replaced with a toggling alt+p. (ticket #144) thanks @jeffhill
- Preview state is now retained when loading after unloading (ticket #161)
0.1.1.1
Hotfixes
- Fix for Firefox parsing HTML entities as literal HTML in the editor. (ticket #183)
0.1.1
New Features
getFiles()
has been added allowing you to easily get all or one files in localStorage (ticket #85)- A boolean
clientSideStorage
option has been added. Setting it tofalse
will make EpicEditor not save to localStorage (ticket #141) - EpicEditor now supports fluid width containers and will resize horizontally on the fly. (ticket #129)
Updates and Major Bug Fixes
- Fix for EpicEditor not loading in IE9 when run on the local file system (ticket #137)
- Fix for
exportFile()
andfile.content
to export spaces as spaces and not
characters (ticket #136) - Fix for update event firing before content was actually updated thus showing old content (ticket #135)
- Fix for key shortcuts sometimes getting stuck and always firing and preventing you from typing certain characters (ticket #133) (ticket #127)
- Fix for when clicking on the preview/edit buttons key shortcuts wouldn't work anymore until the editor was clicked again (ticket #125)
- Fix for not being able to do fullscreen, close, fullscreen back to back in Firefox (ticket #121)
- Fix for default file name becoming a stringified element object if there was no ID on the selected element (ticket #102)
- Fixed anchor links opening in new tabs (ticket #96)
- Fix for 2
<link>
tags being loaded into the previewer iframe on load (ticket #78) - Safari now uses faux fullscreen (ticket #6)
0.1.0
API Changes
import
is nowimportFile
and has more functionality.exportHTML
is nowexportFile
and has more functionality.get
is nowgetElement
with more selectors and slightly modified existing ones.options
is removed and moved as an object into theEpicEdior
contructor.- Added
version
to EpicEditor object to return the current EE version (i.e.EpicEditor.version
)
New Features
- Fullscreen in unsupported browsers (Firefox and IE9).
- Save via ctrl/cmd+s.
- Full CRUD event support (
create
,read
,update
, andremove
events to hook into withon()
). - Use any parser with the new
parser
option. Just return HTML from a function.
Updates and Major Bug Fixes
- EpicEditor gets a logo from @sebnitu.
- Complete IE9 support.
- Theming has been completely redone. Instead of everything living in one document and conflicting with each other it will live in these multiple documents: base, editor, and preview.
- New and much better Markdown parser Marked by @chjj. (EpicEditor's own README actually works in EpicEditor finally).
- New icons with preview/edit specific icons (thanks @sebnitu).
- Better docs (thanks again @sebnitu).
- Updated GitHub theme to match their current theme.
- Better interval cleanup on
unload()
ing
Behind-the-scenes Updates
- Full test coverage on every EpicEditor API method using foounit by @foobarfighter
- Docs are generated from the README
- Real builds from the
/src
directory - Marked (Markdown parser) has been pulled out from the source and is a git submodule
0.0.3
First public release of EpicEditor