- Refactored upload triggers, now handled by Ajaxable mixin
- Slight change to the
Imageblock – no longer sets the button title to 'Please wait...' on upload - Escaped
classnames and other minor fixes so including ST doesn't blow up IE 7 / 8 - Added
toMarkdownaggresiveHTMLStripdefault to not strip tags that have whitespace after the opening<character (#168) - Pass the block to the
block:removetrigger - Add the block ID to all other block triggers
- Added new controllable mixin for adding new functionality to blocks (madebymany#118)
- Removed Source Sans from the CSS file
- Added a dataType: 'json' to the uploader
- Added a
getInstancemethod to retrieve editor instances - Fixed
.st-text-block--headingclass to havemin-height: 0notauto. - Added mailto support to the link regex
- Localise titles of the tweet & heading blocks
- Defer the execution of internationalising the delete text, drop text, upload text and list block cite text until Sir Trevor has intialised.
- Add the heading title to the locales files
- Swap the onBlockRender method to be executed after the block $el is appended onto the DOM by emitting an event
- Added a
destroymethod for all Renderable views - Added a
destroyandreinitializemethod for aSirTrevor.Editorinstance - Modified the Video block to allow for more providers to be added.
- I18n support (in EN / DE) using the new
i18n.thelper - Support for the I18next library (optional dependency)
- Add support for Underscore >= 1.5.0
- Support for multi-worded block types like OrderedList through snake casing on the block type
- Better markdown support for italics and bolds, fixes issue with markdown hating on spaces.
- Improved paste support, stripping out comments and other nasties
- Improved the format bar positioning
- Moved the Eventable block into it's own repository
- Remove blocks instantly if they are empty
- Add method to define if a block is empty (
isEmpty) - Fix the formatters not being called in
to-html.jsandto-markdown.js - Use all inputs in
toDatanot justtextinputs. Note inputs must have anameattribute to be included in the serialized content.