Releases: bustle/mobiledoc-kit
Releases · bustle/mobiledoc-kit
v0.10.1
v0.10.0
v0.9.8
v0.9.7
v0.9.6
Features
- Add
env.didRender
hook to cards rendered by the editor. @joshfrench #382 - Added support to CMD+Left/Right for Mac navigation. @atonse #380
Fixes
- Consider HOME and END keys as movement keys #377 #378
- Explicitly set range in some tests so they pass in Firefox (d84c861), closes #388
See Changelog for more.
v0.9.5
- [bugfix] Ensure cursor is in li after "* " expands to li (#375)
- [bugfix] Ensure cursor positioning on a blank markup section or list item works (#376)
- Add
Editor#onTextInput
to handle text or regex-match input (#368) - Add Editor#enableLogging and Editor#disableLogging (#374)
- Change Range#extend and Position#move to move multiple units (#373)
See the changelog for more.
v0.9.4
Features
- Add #insertAtom and #insertCard to Editor #364
Changes
- change doc output to demo/public/docs (3ca5353)
- Ignore mutation events from within atoms #362 @rlivsey
- Update broccoli build to copy version from package.json to src/js/version.js (ae06afc)
- Update the README to add links to docs (e346abd)
Fixes
v0.9.2
Several fixes for bugs related to edit state. Cleaned-up documentation.
Features
- added
postDidChange
hook, called when the post content changes - added
inputModeDidChange
hook, called when the input mode changes (e.g., text under cursor changes to/from bold or to/from a section type)
Breaking Change
- Fixed the
cursorDidChange
hook to fire only when the cursor changes. Consumers that depended on it to fire when input mode changed should now useinputModeDidChange
instead. See #357
Deprecations
- Deprecates
editor.on('update', callback)
in favor ofeditor.postDidChange(callback)
Other changes
- [BUGFIX] Ensure Editor#hasActiveMarkup detects complex markups #358
- [BUGFIX] Ensure inputModeDidChange fires when changing from ol -> ul #359
- [CLEANUP] Enable live-reload for tests (a5f4c3d)
- [CLEANUP] Fix jsdoc formatting, add
docs
npm script. (2b28d95) - [CLEANUP] Improve documentation for Editor, Post, PostNodeBuilder, Range (97140e9)
- [DOC] minor change for
activeSections
andactiveMarkups
(1b255c1) - [FEATURE] [BUGFIX] Refactor editor hooks #357
- minor: change Range docs (d5aefae)
v0.9.1
v0.9.0
See the Changelog for the full set of changes.
- Ensure using arrow keys when text is selected moves cursor correctly (58dec72) #347
- Add ctrl+z, ctrl+shift+z key commands for non-mac (8ad1377) #331
- Add npm test:ci script, use mobiledoc-kit saucelabs creds (e52172b) from @YoranBrondsema
- Add tests for copy-pasting on IE11. (2a743fa)
- Fix bug #326: Cross-browser testing on CI (19874f8), closes #326 from @YoranBrondsema #337
- Fix bug #329: Copy-pasting does not work on IE11 (b4c46c3), closes #329 from @YoranBrondsema #330
- Use keypress event to enter text (2701e71) #340