-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
area: extensions/widgets/markdowntype: bugcode to address defects in shipped codecode to address defects in shipped code
Description
Slate editor (markdown editor) refreshes automatically and looses all its content
Then it shows following error:
Which reason is described here:
Also it describes a workaround (I provided it below)
To Reproduce
Just use the markdown editor for more that 10-15 minutes.
Expected behavior
The editor does not refresh itself
Applicable Versions:
- Decap CMS version: [3.0.12]
- Git provider: [GitHub]
- OS: [any]
- Browser version [any]
Additional context
You have useMemo call at line 98 here:
It should be replaced with useRef or at least useState as stated there:
demshy and comanche2
Metadata
Metadata
Assignees
Labels
area: extensions/widgets/markdowntype: bugcode to address defects in shipped codecode to address defects in shipped code
