How to use rich-markdown-editor - 1 common examples

To help you get started, we’ve selected a few rich-markdown-editor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github outline / outline / app / scenes / Document / components / plugins.js View on Github external
onKeyDown(ev: SyntheticKeyboardEvent<>, editor: Editor, next: Function) {
      if (ev.key === 'p' && ev.shiftKey && isModKey(ev)) {
        return editor.props.onPublish(ev);
      }

      return next();
    },
  },

rich-markdown-editor

A rich text editor with Markdown shortcuts

BSD-3-Clause
Latest version published 2 years ago

Package Health Score

47 / 100
Full package analysis

Popular rich-markdown-editor functions