Skip to content
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: support text align in text-based blocks #1002

Merged
merged 1 commit into from
Dec 24, 2024

Conversation

LucasXu0
Copy link
Collaborator

added support for customizing the text alignment for each block.

  /// The text align of a block component.
  ///
  /// This value is only available for the block with text,
  /// e.g. paragraph, heading, quote, to-do list, bulleted list, numbered list
  final TextAlign Function(Node node) textAlign;

Copy link

codecov bot commented Dec 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.16%. Comparing base (6c54748) to head (03afbb3).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1002   +/-   ##
=======================================
  Coverage   72.16%   72.16%           
=======================================
  Files         319      319           
  Lines       15243    15246    +3     
=======================================
+ Hits        11000    11003    +3     
  Misses       4243     4243           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@LucasXu0 LucasXu0 merged commit c68e5f6 into AppFlowy-IO:main Dec 24, 2024
7 checks passed
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