draft想獲取類似百度編輯器那樣帶有變遷的內容:通過demo中api ( console.log(convertToRaw(editorState.getCurrentContent())); )獲取后,是這個樣子的:是不是用錯了api?很多讀不懂。
draft.js如何獲取帶有格式標簽的內容?
精慕HU
2018-12-14 15:14:11