Skip to content

Releases: bustle/mobiledoc-kit

v0.10.1

26 Jul 21:32
Compare
Choose a tag to compare
  • Ensure the activeElement is set after rendering cursor (2ce581e) #434

v0.10.0

15 Jul 18:28
Compare
Choose a tag to compare

Changes:

  • Use selection polling to update editor.range #431

v0.9.8

08 Jul 00:02
9a470af
Compare
Choose a tag to compare

Changes

  • Return cards and atoms from high-level insert methods via @joshfrench #428
  • fix "linking marked-up text generates multiple <a> tags" (#360) via @courajs #424

See more in the Changelog

v0.9.7

31 May 19:18
Compare
Choose a tag to compare

v0.9.6

10 May 18:27
6e3437d
Compare
Choose a tag to compare

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

26 Apr 20:47
Compare
Choose a tag to compare
  • [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

20 Apr 20:45
Compare
Choose a tag to compare

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

  • Ensure Editor#insertText doesn't fail when the post is blank #364
  • Allow destroying an editor that is in an inconsistent state due to a rendering error from a missing atom #363

v0.9.2

14 Apr 15:44
Compare
Choose a tag to compare

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 use inputModeDidChange instead. See #357

Deprecations

  • Deprecates editor.on('update', callback) in favor of editor.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 and activeMarkups (1b255c1)
  • [FEATURE] [BUGFIX] Refactor editor hooks #357
  • minor: change Range docs (d5aefae)

v0.9.1

24 Mar 22:07
Compare
Choose a tag to compare

See the changelog for full details.

Fixed

  • #353 fixes #344 Do not handle key events when the editor has no cursor (251675e)
  • #351 up/down arrows in Firefox should not update mobiledoc (81e1cb0)

Changes

  • [CLEANUP] #350 DRY copy/paste and drop event handling. Add editor#serializeTo (8a1ae77)
  • [FEATURE] #352 holding shift while pasting pastes plain text (a006366), closes #334

v0.9.0

22 Mar 20:18
Compare
Choose a tag to compare

See the Changelog for the full set of changes.