We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@brilliant-js
When you decide to export as markdown, you may found the ordered list items are not displayed properly. 【当选择以markdown导出的时候,有序列表的序号可能无法正常显示。】
If you get 【如果导出时显示】
[object Object]. 1111 [object Object]. 2222
instead of 【而不是】
1. 1111 2. 2222
Here is how to fix it.
PROJECT_DIR\node_modules\brilliant-editor\dist\brilliant-editor.cjs.development.js
markdownString += (customStyleItems[type] || StyleItems[type]).open(block, orderedListNumber[block.depth]);
markdownString += (customStyleItems[type] || StyleItems[type]).open(orderedListNumber[block.depth]);
【解决方法如下】
项目目录\node_modules\brilliant-editor\dist\brilliant-editor.cjs.development.js
Hope this post could help you. Happy hacking.
The text was updated successfully, but these errors were encountered:
brilliant/src/Brilliant/exports/draftToMarkdown/draftToMarkdown.ts
Line 232 in fe177c0
-- ).open(block, orderedListNumber[block.depth]); ++ ).open(orderedListNumber[block.depth]);
Sorry, something went wrong.
No branches or pull requests
Bug found and solution
@brilliant-js
When you decide to export as markdown, you may found the ordered list items are not displayed properly.
【当选择以markdown导出的时候,有序列表的序号可能无法正常显示。】
If you get 【如果导出时显示】
instead of 【而不是】
Here is how to fix it.
PROJECT_DIR\node_modules\brilliant-editor\dist\brilliant-editor.cjs.development.js
markdownString += (customStyleItems[type] || StyleItems[type]).open(block, orderedListNumber[block.depth]);
markdownString += (customStyleItems[type] || StyleItems[type]).open(orderedListNumber[block.depth]);
【解决方法如下】
项目目录\node_modules\brilliant-editor\dist\brilliant-editor.cjs.development.js
markdownString += (customStyleItems[type] || StyleItems[type]).open(block, orderedListNumber[block.depth]);
markdownString += (customStyleItems[type] || StyleItems[type]).open(orderedListNumber[block.depth]);
Hope this post could help you. Happy hacking.
The text was updated successfully, but these errors were encountered: