Skip to content

chore: passing parameters to draft-convert #12

Open
rxdxxxx wants to merge 1 commit intomargox:masterfrom
rxdxxxx:pass-parameter
Open

chore: passing parameters to draft-convert #12
rxdxxxx wants to merge 1 commit intomargox:masterfrom
rxdxxxx:pass-parameter

Conversation

@rxdxxxx
Copy link

@rxdxxxx rxdxxxx commented Dec 31, 2020

可以通过参数控制, 让convert可选的处理文本内容

在复制多段p的字符串到编辑器中时, draft-convert 默认flat是false, 导致大段文字在编辑器内被认定位一个整体, 不能独立设置单个段落样式 , 可以通过传递options参数给draft-convert, 让这种行为是可选的.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant