outline / rich-markdown-editor

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

Home Page:https://www.getoutline.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

props value not working on mount

JiangWeixian opened this issue · comments

commented

props.value is not working

To Reproduce
Steps to reproduce the behavior:

  1. git clone repo
  2. yarn
  3. yarn start
  4. go to index.stories.tsx, change defaultValue to value

Expected behavior
if editor value is not async set, mayble it should have same behaviour as defaultValue

Version

Screenshots

Desktop (please complete the following information):

  • OS: macos
  • Browser chrome
  • Version 11.13.0