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

fix: selection menu respect current node direction #360

Merged

Conversation

zoli
Copy link
Contributor

@zoli zoli commented Aug 6, 2023

modified insertNodeAfterSelection to copy current node text direction to the node which is going to get inserteded.

resolves #331

modified insertNodeAfterSelection to copy current node text direction
to the node which is going to get inserteded.

resolves AppFlowy-IO#331
@codecov
Copy link

codecov bot commented Aug 6, 2023

Codecov Report

Merging #360 (b106e52) into main (ab10257) will increase coverage by 0.21%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #360      +/-   ##
==========================================
+ Coverage   75.97%   76.19%   +0.21%     
==========================================
  Files         247      247              
  Lines        9866     9868       +2     
==========================================
+ Hits         7496     7519      +23     
+ Misses       2370     2349      -21     
Files Changed Coverage Δ
...efault_text_operations/format_rich_text_style.dart 63.63% <100.00%> (+63.63%) ⬆️

... and 1 file with indirect coverage changes

@LucasXu0 LucasXu0 merged commit 2ab0074 into AppFlowy-IO:main Aug 8, 2023
10 checks passed
@LucasXu0 LucasXu0 mentioned this pull request Aug 8, 2023
@zoli zoli deleted the fix/selection-menu-respect-text-direction branch August 8, 2023 09:07
q200892907 added a commit to q200892907/appflowy-editor that referenced this pull request Aug 8, 2023
* main:
  chore: release 1.2.3 (AppFlowy-IO#362)
  chore: format code
  Solve the problem of screen appearing at critical positions when there is a URL in the link menu (AppFlowy-IO#346)
  fix: selection menu respects current node direction (AppFlowy-IO#360)
  fix: show selection menu at left (AppFlowy-IO#361)
  fix: selection reason should be ui event when clicking (AppFlowy-IO#359)
  fix: desktop color picker issue

# Conflicts:
#	lib/src/editor/toolbar/desktop/items/link/link_toolbar_item.dart
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.

[Bug] selection menu commands should respect text direction
2 participants