Current version: 0.9.0
- Improve edge content pasting.
- Add undo / redo functionality.
- Allow selection of individual list items.
- Automated testing for copy / paste.
- Add config for multiple heading levels. #581
- Allow drop_option label customisation. #580
- Use config.defaultType option for additions. #578
- Add external link plugin. #582
- Improve list blocks in Chrome where empty item drops down a line.
- Added add button to bottom of quote blocks.
- Selection keyboard behaviour.
- Selection mouse behaviour.
- Native browser selection behaviour.
- Enable paste of non-text content.
- Enable cut of blocks.
- Cross browser fixes / testing.
- Improve Firefox content pasting.
- Add Copy all to the editor
- Implement Selection Handler
- Block level selection.
- Hide new functionality behing feature flags.
- Separate block positioner select data to improve performance. #408
- Fix
config.focusOnInit
to work with non text blocks by removing defaultonBlockRender
that is no longer needed.
- Preserve word list items when pasting.
- Add basic support for IE11 / Edge.
- Improve navigation within list blocks.
- Improve caret positioning on text blocks on removal.
- Reverted
- Upgrade to latest babel / webpack.
- Modified keyboard formatting handling to allow for better external ctrl usage (#516)
- Fixed bug in multiline editing in Safari 10 (#519)
- Update Twitter block to latest syntax matching from
iframe
totwitterwidget
- New interface
- Added Scribe for better text formatting rather than custom markdown for better extensibility
- Multieditable block mixin added for when blocks contain more than 1 formattable textarea
- Switched build process from Browserify to Webpack
- Added basic integration tests
- Refactored each instance to have it's own mediator object
- Added a new block manager that handles block creation, deletion etc
- Clean up the block store with more logical names
- Cleaned up file names to have
-
conventions - Simplified the editor store
- Refactored upload triggers, now handled by Ajaxable mixin
- Slight change to the
Image
block – no longer sets the button title to 'Please wait...' on upload - Escaped
class
names and other minor fixes so including ST doesn't blow up IE 7 / 8 - Added
toMarkdown
aggresiveHTMLStrip
default to not strip tags that have whitespace after the opening<
character (#168) - Pass the block to the
block:remove
trigger - Add the block ID to all other block triggers
- Added new controllable mixin for adding new functionality to blocks (#118)
- Removed Source Sans from the CSS file
- Added a dataType: 'json' to the uploader
- Added a
getInstance
method to retrieve editor instances - Fixed
.st-text-block--heading
class to havemin-height: 0
notauto
. - 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
destroy
method for all Renderable views - Added a
destroy
andreinitialize
method for aSirTrevor.Editor
instance - Modified the Video block to allow for more providers to be added.
- I18n support (in EN / DE) using the new
i18n.t
helper - 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.js
andto-markdown.js
- Use all inputs in
toData
not justtext
inputs. Note inputs must have aname
attribute to be included in the serialized content.