v11.20.0
- Fixed prevent unwanted emoji menu in non Latin cultures by @RuslanGabbasov in https://github.com/outline/rich-markdown-editor/pull/591
- chore(deps): bump ssri from 6.0.1 to 6.0.2 by @dependabot in https://github.com/outline/rich-markdown-editor/pull/585
- Added syntax highlighting support for Objective-C by @ltranco in https://github.com/outline/rich-markdown-editor/pull/590
- Added syntax highlighting support for Rust
- Fixed close block menu trigger by @iamsaumya in https://github.com/outline/rich-markdown-editor/pull/576
- @RuslanGabbasov made their first contribution in https://github.com/outline/rich-markdown-editor/pull/591
- @ltranco made their first contribution in https://github.com/outline/rich-markdown-editor/pull/590
Full Changelog: https://github.com/outline/rich-markdown-editor/compare/v11.19.4...v11.20.0
v11.0.1
- Upgraded Prosemirror dependencies for fixes and improved browser compatibility
- Partially copying and pasting a code block does not work (#295)
- Heading anchor does not copy correct link if heading itself is linked
onClickLink
callback called with empty payload when a linked contained within a heading is clicked- Cannot use multiple underscore characters within inline code mark (#298)
v11.0.0
styled-components
is now a peer dependency, make sure your host app has it included inpackage.json
(#268)
- 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)
- 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)