-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
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
feat: add markdown divider encoder parser #639
feat: add markdown divider encoder parser #639
Conversation
@hamishjohnson Please fix the ci issues. |
@LucasXu0 Fixed the test - how can I fix the commit message without force push? |
@hamishjohnson I can squashed your commits, so no need to fix the commit message this time. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #639 +/- ##
==========================================
- Coverage 78.13% 76.70% -1.43%
==========================================
Files 291 294 +3
Lines 12763 12973 +210
==========================================
- Hits 9972 9951 -21
- Misses 2791 3022 +231 ☔ View full report in Codecov by Sentry. |
String transform(Node node, DocumentMarkdownEncoder? encoder) { | ||
final children = encoder?.convertNodes(node.children); | ||
String markdown = '---\n'; | ||
if (children != null && children.isNotEmpty) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The children of the divider node must be empty.
Just removed that code completely now |
* main: fix: move cursor up/down issue (AppFlowy-IO#657) fix: chinese IME feat: add markdown divider encoder parser (AppFlowy-IO#639) feat: support updating cursor position via spacebar (AppFlowy-IO#655) feat: support customizing cursor width (AppFlowy-IO#654)
Adds a markdown divider node encoder parser