This repository has been archived by the owner on Jan 20, 2022. It is now read-only.
v11.0.0
BREAKING CHANGES
styled-components
is now a peer dependency, make sure your host app has it included inpackage.json
(#268)
Enhancements
- When creating a link the initial text selection i now used as the create document suggestion (#281)
dictionary
prop allows changing any of the user interface text (#270)- Improvement to exported Typescript types (#276) (#275)
onClickLink
callback is now passed the event as the second parameter- lodash imports style changed to reduce bundle size (#284)
- Pasting a url will now always auto link
- Improved search result caching in link finder (#291) (#292)
onSeachLink
callback response can now include asubtitle
alongsidetitle
andurl
for an optional second line of meta information in the link search. (#291)
Fixes
- Horizontal rule is no longer selectable in
readOnly
(#266) Image
is no longer shown as an option if an upload callback is not provided as a prop (#272)- Toolbar maximum update depth exceeded error (#271)
- Remove unnecessary bypass for URL inputs on link editor, allows host app to handle URL searches (#279)
\n
in paragraph no longer converted to newline on reload (#286)onHoverLink
callback fired erroneously when moving cursor over table grips- Improved selection state of embeds and images (#287)
- Fixed cursor does not move predictably around headings in Firefox (#289)
- Fixed 'No value supplied for attribute href' when pasting some HTML
- Pasting into code block now works as expected (#294)