Skip to content

Releases: bustle/mobiledoc-kit

v0.10.11

14 Sep 19:34
Compare
Choose a tag to compare

v0.10.10

13 Sep 18:07
Compare
Choose a tag to compare

v0.10.9

31 Aug 18:21
Compare
Choose a tag to compare
  • fix(onTextInput): Ensure onTextInput is triggered by tab character (#479) (a0aaa3a), closes #400
  • fix(newlines). Remove newline chars in text nodes (\n) when parsing HTML (#478) (6036b90), closes #333
  • fix(range) Allow reading range from DOM when editor is disabled (#476) (6969f5c), closes #475
  • refactor(cleanup) Remove unused methods from Post, Markerable (#474) (235f7a3)

v0.10.8

25 Aug 22:21
Compare
Choose a tag to compare
  • feat(atom): Implement Atom save hook (#472) (3ef3bc3), closes #399
  • fix(atoms): Avoid rerendering atoms when section content changes. (#471) (a59ae74), closes #421
  • fix(placeholder): Use '__has-no-content' class name to display placeholder text (#461) (11452fe), closes #407 #171
  • refactor(tests): Refactor deletion tests to be terser (#469) (eeb9e19)

Possible BREAKING CHANGE: The placeholder text is now absolutely
positioned (at top: 0) of the editor div. If a user has applied their
own padding to the editor div the placeholder may not show up in the
correct location. The solution is to add a CSS rule that overrides the
top to match the value of the padding-top:

.__mobiledoc-editor.__has-no-content:after {
  top: <value of padding-top>;
}

Also: The editor now has a min-height: 1em;
to ensure that the placeholder has a space in which to be displayed.

v0.10.7

24 Aug 22:33
Compare
Choose a tag to compare
  • fix(paste): Fix insertion into blank section (#466) (a3d274d), closes #466 #462
  • fix(paste): Handle paste card at start of middle list item (#468) (939a541), closes #467
  • doc(jsdoc): Fix JSDocs violations and typo (#463) (843f381), closes #463
  • doc(jsdoc): Make building docs part of testing, to avoid jsdocs errors (#464) (039fd04)
  • feat(post): Refactor rendering of editor element (#460) (c9d4067), closes #335

v0.10.6

23 Aug 21:36
Compare
Choose a tag to compare
  • feat(delete): add delete hooks in lifecycle (#454) (f7c72cd)
  • feat(delete): add range, direction and unit to delete hook (#455) (2884ebf)
  • fix(paste): Allow inserting multiple markup sections onto a list item (#459) (1898cf5), closes #456

v0.10.5

23 Aug 21:37
Compare
Choose a tag to compare
  • fix(links): Ensure that CTRL+K on Windows toggles link. Fixes #452 (#453) (3220534), closes #452 #453
  • style(links): Add nobreak to links in the editor so toolips are always accessible (#449) (b75bb7d)
  • docs(changelog): Update changelog manually (2ceb39d)

v0.10.4

04 Aug 21:56
Compare
Choose a tag to compare
  • Add buildWithText test helper, postEditor#deleteRange (3327408) (#442)
  • Add postEditor#deleteAtPosition, deprecate deleteFrom (92c3eb6) (#442)
  • Add toRange and toPosition methods to Position, Section, Post (c7ec6eb), closes #258 (#446)
  • Refactor deleteRange (54f56cc) (#444)
  • remove post#sectionsContainedBy(range) (27ba974) (#442)
  • update mobiledoc-pretty-json-renderer to ^2.0.1 (9ff9f13) (#447)
  • Use "version" script instead of postversion with --amend --no-edit (13abc9d) (#448)
  • docs: replaceWithListSection and replaceWithHeaderSection (2b65ad5)
  • Tests: Extract MockEditor, run, renderBuiltAbstract, docs for buildFromText (b473a27) (#442)

v0.10.3

26 Jul 21:36
Compare
Choose a tag to compare
  • Un-deprecate editor#hasActiveMarkups, remove editor#markupsInSelection #441

v0.10.2

26 Jul 21:34
Compare
Choose a tag to compare
  • Refocus editor after toggling markup when no selection #436, closes #369
  • Add forward/backward inclusivity rules for markups #438 , closes #402 #392
  • Add support for word deletion on Mac (opt+del) and PC (ctrl+del) #437, closes #169
  • Remove deprecated Post#cloneRange Editor#registerExpansion, Editor#on #439