Releases: bustle/mobiledoc-kit
Releases · bustle/mobiledoc-kit
v0.10.11
v0.10.10
- feat(textInput): able to unregister single or all text input handlers (#484) (68a60ae) @eguitarz
- feat(UI): Export toggleLink (#491) (3335357) @joshfrench
- feat(willHandleNewline): add willHandleNewline hook (#489) (f1d2262) @eguitarz
- docs(grammarly): DOC - Add section about disabling Grammarly (#490) (bbf3cfd) @YoranBrondsema
- fix(deprecate): Make deprecate accept conditional argument (#488) (059fd66)
v0.10.9
- 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
- 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
- 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
v0.10.5
v0.10.4
- 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
v0.10.2
- 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