Recent Releases of https://github.com/outline/rich-markdown-editor
https://github.com/outline/rich-markdown-editor - v11.20.0
What's Changed
- 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
New Contributors
- @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
- TypeScript
Published by tommoor over 4 years ago
https://github.com/outline/rich-markdown-editor - v11.0.9
Fixes
- Uneditable image captions in Safari (#338)
- TypeScript
Published by tommoor over 5 years ago
https://github.com/outline/rich-markdown-editor - v11.0.10
Fixes
- Table directly after list item breaks on reload (#329)
- Copy and pasting embeds between documents fails
/block menu trigger should not trigger in table cells- Extra space at bottom of document in FF (#342)
- TypeScript
Published by tommoor over 5 years ago
https://github.com/outline/rich-markdown-editor - v11.0.7
Fixes
- Invalid version in
react-dompeer dependency - Todo list items should wrap long lines
- TypeScript
Published by tommoor over 5 years ago
https://github.com/outline/rich-markdown-editor - v11.0.6
Fixes
- Scroll behavior moving cursor at end of a header (#324)
- Lots of fixes for copy and pasting content from one editor to another, specifically:
- checkboxes lost their checked state
- images lost their caption
- notices lost their type
- TypeScript
Published by tommoor over 5 years ago
https://github.com/outline/rich-markdown-editor - v11.0.5
Fixes
- Safari hangs when selecting a cell in an empty table (#322)
- Selected table cell background covers cell borders in Firefox (#322)
- TypeScript
Published by tommoor over 5 years ago
https://github.com/outline/rich-markdown-editor - v11.0.4
Fixes
- Change scrollable overflow-x from scroll to auto on tables (#319)
- Table scrollbars now styled better in dark mode (#320)
- Added support for react@17 (removed version warnings)
- TypeScript
Published by tommoor over 5 years ago
https://github.com/outline/rich-markdown-editor - v11.0.1
Fixes
- 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
onClickLinkcallback called with empty payload when a linked contained within a heading is clicked- Cannot use multiple underscore characters within inline code mark (#298)
- TypeScript
Published by tommoor over 5 years ago
https://github.com/outline/rich-markdown-editor - v11.0.0
BREAKING CHANGES
styled-componentsis 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)
dictionaryprop allows changing any of the user interface text (#270)- Improvement to exported Typescript types (#276) (#275)
onClickLinkcallback 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)
onSeachLinkcallback response can now include asubtitlealongsidetitleandurlfor an optional second line of meta information in the link search. (#291)
Fixes
- Horizontal rule is no longer selectable in
readOnly(#266) Imageis 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)
\nin paragraph no longer converted to newline on reload (#286)onHoverLinkcallback 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)
- TypeScript
Published by tommoor over 5 years ago
https://github.com/outline/rich-markdown-editor - v10.6.3
Fixes
- It is now possible to create multiple lines in table cells with
SHIFT+Enter
- TypeScript
Published by tommoor almost 6 years ago
https://github.com/outline/rich-markdown-editor - v10.1.0
Enhancements
- onCreateLink handler added to support "just in time" document creation – big thanks to @thenanyu for leading this effort.
- Link search results menu now scrolls when there are lots of results
- CTRL+n/p now supported for navigating block menu items
Extensionclass is now exported
Fixes
- Error when selection wraps embed nodes
- Triangle beneath formatting toolbar sometimes positioned outside of bar
- "Write a caption" image placeholder no longer disappears when focused
- Link search results look better in dark theme now
onKeyDownhandler no longer marked as required- Paste markdown and images now correctly disabled in
readOnlymode - Typing a markdown link with empty text no longer triggers an error
- TypeScript
Published by tommoor almost 6 years ago
https://github.com/outline/rich-markdown-editor - v10.0.2
Fixes
- Fixed an issue that could cause checkbox list items with escaped characters in the text to show the escape characters after reload
- An unknown language annotation in code fences will no longer throw an error. It was only possible to hit this if you imported markdown from another source.
- The overlay background when zooming an image now respects the theme
- Code block language selection is now less finicky in Firefox
- It's no longer possible to get checkbox state out of sync with view by clicking rapidly
- Placeholder or "Type / to insert text" can no longer can appear behind images
- Fixed an error when pasting markdown into the document
- Pressing "Escape" key in link editor now restores editor focus
- TypeScript
Published by tommoor about 6 years ago
https://github.com/outline/rich-markdown-editor - v10.0.1
Fixes
- Alignment of bullet point on list items that spread across multiple lines was incorrect.
embedsis now an optional property, as it should have always been.
- TypeScript
Published by tommoor about 6 years ago
https://github.com/outline/rich-markdown-editor - v10.0.0
v10.0.0 is a complete rewrite of the editor. It is incompatible with v9.0.0 and moves from using Slate to Prosemirror as the framework. Some reasoning behind this change is available in the the issue, but notably the release includes fixes for more than 20 issues, an order of magnitude increase in rendering performance, and support for soft keyboards (non-latin/mobile character input).
BREAKING CHANGES
Input / output
The output of the editor is slightly different than before. Empty paragraphs are now encoded with a backslash and checklists require a leading "-" character. Loading a document created in v9 in v10 will not render 1-1 without first migrating the data. You can do so with the following code:
javascript
import MarkdownSerializer from "slate-md-serializer";
const serializer = new MarkdownSerializer();
const nodes = serializer.deserialize(v9text);
const v10text = serializer.serialize(nodes, { version: 2 });
It is highly recommended you backup the original data.
Removed props
tocprop was removed. You can utilize the newgetHeadings()method to build your own table of contents that matches the style of the host app, if required.getLinkComponentprop was removed. It was replaced with a new structure for defining embeds.pluginsprop was removed. It's no longer possible to use Slate plugins, this was replaced with theextensionsprop where Prosemirror plugins can be used to extend the editor instead.hiddenToolbarButtonsprop was removed, there is no replacement.serializerprop was removed, there is no replacement.themeprop keys changed to support new design.
Enhancements
- We now export Typescript types.
- New menu for inserting blocks is much more intuitive than before
- "Highlight" now appears in floating formatting menu
- Typing markdown shortcuts no longer requires
spacecharacter to activate - It's now possible to type a markdown url https://github.com/outline/rich-markdown-editor/issues/5
- The markdown output is much cleaner https://github.com/outline/rich-markdown-editor/issues/49
- Quotes are converted to smart quotes as you type https://github.com/outline/rich-markdown-editor/issues/81
- It's now possible to change the editor value from outside by changing the
valueprop. https://github.com/outline/rich-markdown-editor/issues/120 - Toolbar adjusts to not display off-screen https://github.com/outline/rich-markdown-editor/issues/117
- It is now possible for custom embeds to be displayed in the block menu
onShowToastcallback now includes anidas the second parameter that can be used to identify the message and provide your own text copy.- Support for paragraph breaks in lists.
- Support for links in headings.
Fixes
- Mobile input https://github.com/outline/rich-markdown-editor/issues/141
- Support for alternative input methods https://github.com/outline/rich-markdown-editor/issues/126
- Rendering performance increased by leaps and bounds https://github.com/outline/rich-markdown-editor/issues/29
- Issues with markdown shortcuts surrounded in whitespace not applying https://github.com/outline/rich-markdown-editor/issues/110
- Key handling in link editor https://github.com/outline/rich-markdown-editor/issues/100
- Adding a new row to a table now respects alignment https://github.com/outline/rich-markdown-editor/issues/91
- Many other errors throwing from the editor that were not captured in the issue tracker.
- TypeScript
Published by tommoor about 6 years ago
https://github.com/outline/rich-markdown-editor - v9.0.0
Breaking Changes
renderNodeprop was removed, instead create a standard Slate plugin that exposes a renderNode method. (#62)
Fixes
- Insert/added marks are now persisted correctly (#60)
jpegadded to acceptable mimetypes (#66)
- TypeScript
Published by tommoor over 7 years ago
https://github.com/outline/rich-markdown-editor - v8.0.0
- Updated to use Slate
0.44.9
Breaking Changes
renderPlaceholderwas removed, it's now recommend to create a placeholder plugin and pass it to thepluginsprop.- Any custom plugins that you were passing in must now be re-written to be compatible with Slate 44. I recommend checking out the Slate Changelog
- TypeScript
Published by tommoor over 7 years ago
https://github.com/outline/rich-markdown-editor - v5.1.0
Fixes
- Support for underlines
- TypeScript
Published by tommoor over 7 years ago
https://github.com/outline/rich-markdown-editor - v6.0.1
Breaking Dependency Changes
- React 16.6.0 and upwards
- Styled components 4.0
- TypeScript
Published by tommoor over 7 years ago
https://github.com/outline/rich-markdown-editor - v4.0.0
This breaking change alters the return value of onChange to be a method, see details here: https://github.com/outline/rich-markdown-editor/pull/30
The load order of Slate plugins was also reversed to prefer the host apps.
- TypeScript
Published by tommoor almost 8 years ago
https://github.com/outline/rich-markdown-editor - v3.0.0
This breaking change refactors the theme file to allow for easier theming based on semantics rather than colors. Also included is a default dark theme that can be enabled with the dark boolean prop.
If you are not passing your own theme to the editor then you should be able to upgrade this major bump without issue.
- TypeScript
Published by tommoor almost 8 years ago