In rc-form controlled form's platejs editor, I tried to process the nodes which contains <img /> pasted from webpage.
So the "parseNodes" method will detect and convert all external image urls to my private oss links, if the node url is private oss url will be skipped.
Now everytime I edited content, parseNodes still got old image url (external url not my private oss url), what should I do to make onChange event that has latest value returned?
Now everytime I edited content, console printed:
Steps to Reproduce
Sandbox
Expected Behavior
Get latest value in onChange event everytime when I edited
Description
In rc-form controlled form's platejs editor, I tried to process the nodes which contains
<img />
pasted from webpage.So the "parseNodes" method will detect and convert all external image urls to my private oss links, if the node url is private oss url will be skipped.
Now everytime I edited content, parseNodes still got old image url (external url not my private oss url), what should I do to make onChange event that has latest value returned?
Now everytime I edited content, console printed:
Steps to Reproduce
Sandbox
Expected Behavior
Get latest value in onChange event everytime when I edited
Environment
Bounty
Click here to add a bounty via Algora.
Funding