鍍金池/ 問答/HTML/ react-quill富文本報錯passing the delta object

react-quill富文本報錯passing the delta object from the onChange...

react里使用react-quill富文本時報錯

You are passing the delta object from the onChange event back as value. You most probably want editor.getContents() instead

這個delta是什么呢,官方文檔也看得有些不太明白

回答
編輯回答
萌小萌

提示很清楚呀,讓你使用editor.getContents()

2018年4月21日 21:38