Open Charles-ccc opened 7 months ago
在braft-editor这样使用的,不知道在刻刀要如何使用? import BraftEditor from 'braft-editor' // 定义一段HTML字符串 const htmlString =
import BraftEditor from 'braft-editor' // 定义一段HTML字符串 const htmlString =
Hello World!
// 将HTML字符串转换为编辑器所需要的EditorState实例 const editorState = BraftEditor.createEditorState(htmlString)
在braft-editor这样使用的,不知道在刻刀要如何使用?
import BraftEditor from 'braft-editor' // 定义一段HTML字符串 const htmlString =
Hello World!
// 将HTML字符串转换为编辑器所需要的EditorState实例 const editorState = BraftEditor.createEditorState(htmlString)