rich-markdown-editor | open source React and Prosemirror based markdown editor | Editor library

 by   outline TypeScript Version: 11.17.7 License: BSD-3-Clause

kandi X-RAY | rich-markdown-editor Summary

kandi X-RAY | rich-markdown-editor Summary

rich-markdown-editor is a TypeScript library typically used in Editor, React applications. rich-markdown-editor has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

The open source React and Prosemirror based markdown editor that powers Outline. Want to try it out? Create an account:
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              rich-markdown-editor has a medium active ecosystem.
              It has 2805 star(s) with 591 fork(s). There are 36 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 29 open issues and 253 have been closed. On average issues are closed in 64 days. There are 6 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of rich-markdown-editor is 11.17.7

            kandi-Quality Quality

              rich-markdown-editor has 0 bugs and 0 code smells.

            kandi-Security Security

              rich-markdown-editor has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              rich-markdown-editor code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              rich-markdown-editor is licensed under the BSD-3-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              rich-markdown-editor releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rich-markdown-editor
            Get all kandi verified functions for this library.

            rich-markdown-editor Key Features

            No Key Features are available at this moment for rich-markdown-editor.

            rich-markdown-editor Examples and Code Snippets

            No Code Snippets are available at this moment for rich-markdown-editor.

            Community Discussions

            QUESTION

            React useRef() not getting defined
            Asked 2021-Apr-20 at 20:48

            I have a prosemirror based editor that I'd like to enable real-time collaboration on. So I've set up a socket server as described here

            I set up the WebsocketProvider as a useRef() so that we're not constantly re-creating it everytime we render the component (before I was spinning up dozens of websockets). However, now it's not even getting defined, as the console.log(this.yXmlFragment, this.provider) in get plugins() is returning both as undefined

            My desired behavior is that I want provider and yXmlFragment to be updated only when the sectionID changes, not for any other re-render. But it's not even being set the first time. Can anyone explain how I'm wrong?

            ...

            ANSWER

            Answered 2021-Apr-20 at 20:48

            This is happening because you are including sectionID in the dependency list of the useEffect within EditorContainer. Because sectionID doesn't change on initial load, this useEffect never fires. I've created a minimal example of this here: https://codesandbox.io/s/focused-babbage-ilx4j?file=/src/App.js

            I recommend changing useEffect to useMemo because it runs at least once on initial render of EditorContainer. And you still get the performance benefit because it shouldn't rerun unless sectionID changes.

            Source https://stackoverflow.com/questions/67185799

            QUESTION

            Trying to extend rich markdown editor
            Asked 2021-Mar-03 at 14:42

            I'm working on trying to extend this markdown editor library - which itself extends Prosemirror. I'd like to build my own Node which has the following schema:

            ...

            ANSWER

            Answered 2021-Mar-03 at 14:42

            It looks like you are missing a configuration for the markdown rules.

            You can add a file in /src/lib/markdown, something like story.ts, with this content (copy/paste from notice.ts)

            Source https://stackoverflow.com/questions/66378360

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install rich-markdown-editor

            Note that react, react-dom, and styled-components are required peer dependencies.

            Support

            This project uses yarn to manage dependencies. You can use npm however it will not respect the yarn lock file and may install slightly different versions. When running in development Storybook is included to example editors with hot reloading. After installing dependencies run yarn start to get going. When developing using yarn link, you can use yarn watch to continuously rebuild on change into dist as you make changes.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
            Maven
            Gradle
            CLONE
          • HTTPS

            https://github.com/outline/rich-markdown-editor.git

          • CLI

            gh repo clone outline/rich-markdown-editor

          • sshUrl

            git@github.com:outline/rich-markdown-editor.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Editor Libraries

            quill

            by quilljs

            marktext

            by marktext

            monaco-editor

            by microsoft

            CodeMirror

            by codemirror

            slate

            by ianstormtaylor

            Try Top Libraries by outline

            outline

            by outlineTypeScript

            outline-icons

            by outlineTypeScript

            tiley

            by outlineJavaScript

            acm

            by outlineShell

            website

            by outlineHTML