appflowy-editor
appflowy-editor copied to clipboard
[Bug] missing text when export to markdown or pdf
Bug Description
There are some texts are missing when i export to markdown or pdf
How to Reproduce
cd appflowy-editor/example flutter run -d linux
import from document json export to markdown|pdf
files: tttt.json
Expected Behavior
should be the same
Operating System
ubuntu24
AppFlowy Editor Version(s)
latetest
Screenshots
Additional Context
No response
same too
Which function did you call to convert the document to Markdown?
Which function did you call to convert the document to Markdown?
![]()
this function,appflowy-editor/example/lib/home_page.dart(line386): void _exportFile( EditorState editorState, ExportFileType fileType, ) async { var result = '';
switch (fileType) {
case ExportFileType.documentJson:
result = jsonEncode(editorState.document.toJson());
break;
case ExportFileType.markdown:
result = documentToMarkdown(editorState.document);
oh I see the result value is correct by print(result), but why the md text display on the app are not correct after i click the 'Export to Markdown' button