-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: export JSON in mobile and update mobile_example.json (#515)
* feat: add export json in mobile * chore: update editor style and example json for mobile showcase * chore: improve text content
- Loading branch information
Showing
4 changed files
with
33 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,140 +1 @@ | ||
{ | ||
"document": { | ||
"type": "page", | ||
"children": [ | ||
{ | ||
"type": "heading", | ||
"data": { | ||
"level": 2, | ||
"delta": [ | ||
{ "insert": "👋 " }, | ||
{ "insert": "Welcome to", "attributes": { "bold": true } }, | ||
{ "insert": " " }, | ||
{ | ||
"insert": "AppFlowy Editor", | ||
"attributes": { "italic": false, "bold": true } | ||
} | ||
], | ||
"align": "center" | ||
} | ||
}, | ||
{ | ||
"type": "paragraph", | ||
"data": { | ||
"delta": [ | ||
{ "insert": "AppFlowy Editor is a" }, | ||
{ "insert": " " }, | ||
{ | ||
"insert": "highly customizable", | ||
"attributes": { "bold": true, "bg_color": "0x7fffeb3b" } | ||
}, | ||
{ "insert": " " }, | ||
{ "insert": "rich-text editor", "attributes": { "italic": true } }, | ||
{ "insert": " for " }, | ||
{ "insert": "Flutter", "attributes": { "underline": true } } | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "bulleted_list", | ||
"data": { | ||
"delta": [ | ||
{ | ||
"insert": "Customizable", | ||
"attributes": { "bg_color": "0x4d00BCF0" } | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "bulleted_list", | ||
"data": { | ||
"delta": [ | ||
{ | ||
"insert": "Test-covered", | ||
"attributes": { "bg_color": "0x4d00BCF0" } | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "bulleted_list", | ||
"data": { | ||
"delta": [ | ||
{ "insert": "More to come!", "attributes": { "code": true } } | ||
] | ||
} | ||
}, | ||
{ "type": "paragraph", "data": { "delta": [] } }, | ||
{ | ||
"type": "heading", | ||
"data": { | ||
"delta": [{ "insert": "Here is an example you can give it a try" }], | ||
"level": 4, | ||
"align": "center" | ||
} | ||
}, | ||
{ | ||
"type": "todo_list", | ||
"data": { | ||
"checked": false, | ||
"delta": [ | ||
{ "insert": "Use " }, | ||
{ | ||
"insert": "AppFlowy Editor", | ||
"attributes": { | ||
"italic": true, | ||
"bold": true, | ||
"font_color": "0xffD70040", | ||
"bg_color": "0x6000BCF0" | ||
} | ||
}, | ||
{ "insert": " as a component to build your own app." } | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "todo_list", | ||
"data": { | ||
"checked": false, | ||
"delta": [ | ||
{ "insert": "Select text to " }, | ||
{ | ||
"insert": "trigger the toolbar", | ||
"attributes": { "bg_color": "0x4de91e63" } | ||
}, | ||
{ "insert": " to " }, | ||
{ | ||
"insert": "format", | ||
"attributes": { | ||
"code": true, | ||
"bold": true, | ||
"underline": true, | ||
"italic": true, | ||
"font_color": "0xfff44336", | ||
"bg_color": "0x4d4caf50" | ||
} | ||
}, | ||
{ "insert": " your notes." } | ||
] | ||
} | ||
}, | ||
{ "type": "paragraph", "data": { "delta": [] } }, | ||
{ | ||
"type": "paragraph", | ||
"data": { | ||
"delta": [ | ||
{ "insert": "If you have questions or feedback, please " }, | ||
{ | ||
"insert": "submit an issue", | ||
"attributes": { "bg_color": "0x4de91e63" } | ||
}, | ||
{ | ||
"insert": " on Github or join the community along with 1000+ builders!" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
{"document":{"type":"page","children":[{"type":"heading","data":{"level":3,"delta":[{"insert":"AppFlowy Editor is now in","attributes":{"italic":false,"bold":true}}]}},{"type":"heading","data":{"level":1,"delta":[{"insert":"👏 Mobile"},{"insert":" ","attributes":{"italic":false,"bold":true}},{"insert":"📱","attributes":{"bold":true}}]}},{"type":"paragraph","data":{"level":1,"delta":[{"insert":"AppFlowy Editor","attributes":{"bold":true,"italic":false,"underline":false}},{"insert":" empowers your flutter app with seamless document editing features.","attributes":{"bold":false,"italic":false,"underline":false}}]}},{"type":"paragraph","data":{"delta":[{"insert":"Adding the "},{"insert":"AppFlowy Editor","attributes":{"bold":true}},{"insert":" package in your flutter app will allow you to unlock powerful and customizable document editing capabilities, all without building it from scratch. "}]}},{"type":"heading","data":{"level":1,"delta":[{"insert":"👀 Let’s check it out"}]}},{"type":"heading","data":{"level":3,"delta":[{"insert":"Text Decoration"}]}},{"type":"paragraph","data":{"delta":[{"insert":"Bold","attributes":{"bold":true}},{"insert":" "},{"insert":"Italic ","attributes":{"italic":true}},{"insert":"underLine","attributes":{"italic":false,"underline":true}},{"insert":" ","attributes":{"italic":true}},{"insert":"Strikethrough","attributes":{"italic":false,"strikethrough":true}}]}},{"type":"heading","data":{"level":3,"delta":[{"insert":"Colorful Text"}]}},{"type":"paragraph","data":{"delta":[{"insert":"Infuse","attributes":{"font_color":"0xfff44336"}},{"insert":" "},{"insert":"your","attributes":{"font_color":"0xffffeb3b"}},{"insert":" "},{"insert":"texts","attributes":{"font_color":"0xff2196f3"}},{"insert":" "},{"insert":"with","attributes":{"font_color":"0xff4caf50"}},{"insert":" "},{"insert":"the","attributes":{"font_color":"0xff795548"}},{"insert":" "},{"insert":"vibrant","attributes":{"font_color":"0xffe91e63"}},{"insert":" "},{"insert":"hues","attributes":{"font_color":"0xff9c27b0"}},{"insert":" "},{"insert":"of","attributes":{"font_color":"0xff9e9e9e"}},{"insert":" "},{"insert":"a","attributes":{"bg_color":"0x4d9e9e9e"}},{"insert":" "},{"insert":"rainbow","attributes":{"bg_color":"0x4df44336"}},{"insert":" "},{"insert":"to","attributes":{"bg_color":"0x4d4caf50"}},{"insert":" "},{"insert":"brighten","attributes":{"bg_color":"0x4dffeb3b"}},{"insert":" "},{"insert":"up","attributes":{"bg_color":"0x4d795548"}},{"insert":" "},{"insert":"your","attributes":{"bg_color":"0x4d9c27b0"}},{"insert":" "},{"insert":"day","attributes":{"bg_color":"0x4d2196f3"}},{"insert":"! "}]}},{"type":"heading","data":{"level":3,"delta":[{"insert":"Lists"}]}},{"type":"todo_list","data":{"checked":false,"delta":[{"insert":"To Do List"}]}},{"type":"todo_list","data":{"delta":[{"insert":"Checked"}],"checked":true}},{"type":"bulleted_list","data":{"delta":[{"insert":"Bulleted List"}]}},{"type":"bulleted_list","data":{"delta":[]}},{"type":"numbered_list","data":{"delta":[{"insert":"Numbered List"}]}},{"type":"numbered_list","data":{"delta":[]}},{"type":"heading","data":{"level":3,"delta":[{"insert":"Link & Quote"}]}},{"type":"quote","data":{"delta":[{"insert":"Here’s where you can find the "},{"insert":"AppFlowy Editor flutter package","attributes":{"href":"https://pub.dev/packages/appflowy_editor"}},{"insert":" to add to your environment."}]}},{"type":"heading","data":{"level":3,"delta":[{"insert":"Code Inline"}]}},{"type":"paragraph","data":{"delta":[{"insert":"flutter pub add appflowy_editor\nflutter pub get","attributes":{"code":true}}]}}]}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters