draft-js-markdown-shortcuts-plugin
draft-js-markdown-shortcuts-plugin copied to clipboard
A DraftJS plugin for supporting Markdown syntax shortcuts
Incompatibility with createLinkPlugin
I want to be able to use both markdown shortcuts plugin and [draft-js-anchor-plugin](https://www.draft-js-plugins.com/plugin/anchor) but it's impossible to get them to both work in creating a link. I think the problem...
Add a very simple types declare for user import modules when on TypeScript project
Replace onTab for keyBindingFn
· Solves onTab warnings. onTab is deprecated and after key pressing it, it doesn't indent the text. · Solves line indention on selecting text adding spaces at the start of...
Inlcuding the `draft-js-markdown-shortcuts-plugin` is blocking key binding for the tab key. Example: ```jsx const keyDown = (e) => { if(e.key === 'Tab'){ console.log('I never get here...'); } console.log('Other keys are...
Hello, using 0.6.1, I can repro this on the demo page as well. Adding markdown for a link removes any trailing characters in the rest of the line. For example,...
How to init with pre content?
As the question
**Expected Behavior** If you have `placeholder` specified as a prop for the `Editor` and you use the markdown shortcuts to create a bullet, the placeholder should not be displayed. **Actual...
Breaks on latest Draft-JS-Plugins release :( (getEditorState is not a function)
Alas, looks like this broke with the release of the latest two versions of draft-js-plugins. Since those fix some super important bugs for me, it would be great if one...
Newline doesn't trigger expansion
Behavior observed on the public demo. Entering a newline does not trigger expansion like hitting space does. Example: input: ``` text *highlight* text ``` produces: text *highlight* text (note that...
Most other editors have a function where if you hit (⌘ + Z / Ctrl + Z) it will undo the automarkdown, and leave the text as it was. Eg....