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: fixed the cursor not moving to next line after inserting divider #371

Merged

Conversation

Mukund-Tandon
Copy link
Contributor

fixes: #370
Before:
ezgif com-video-to-gif (3)

After -

Screen.Recording.2023-08-12.at.9.50.59.PM.mov

@codecov
Copy link

codecov bot commented Aug 12, 2023

Codecov Report

Merging #371 (12c7e01) into main (56474e8) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #371   +/-   ##
=======================================
  Coverage   80.75%   80.75%           
=======================================
  Files         252      252           
  Lines       10258    10258           
=======================================
  Hits         8284     8284           
  Misses       1974     1974           
Files Changed Coverage Δ
...er_block_component/divider_character_shortcut.dart 100.00% <100.00%> (ø)

Copy link
Contributor

@MayurSMahajan MayurSMahajan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Can you add a test to assure this functionality, so that if it breaks in the future, we would know.

@Mukund-Tandon
Copy link
Contributor Author

Great work! Can you add a test to assure this functionality, so that if it breaks in the future, we would know.

Ok,I will add them

@Mukund-Tandon Mukund-Tandon marked this pull request as ready for review August 15, 2023 06:24
@Mukund-Tandon Mukund-Tandon force-pushed the cursor_to_new_line_after_divider branch from 5da6a9b to ab08463 Compare August 17, 2023 06:13
@LucasXu0 LucasXu0 merged commit 5a0a6fa into AppFlowy-IO:main Aug 28, 2023
9 of 10 checks passed
zoli added a commit to zoli/appflowy-editor that referenced this pull request Aug 28, 2023
…-state-update-node

* fix/previous-node-text-direction-null:
  feat: default text direction property (AppFlowy-IO#402)
  fix: fixed the cursor not moving to next line after inserting divider (AppFlowy-IO#371)
  chore: update theme colors for editor
  feat: refactor floating toolbar positioning logic
  fix: update resizable image width calculation with minimum width constraint
  chore: comment suggesting use of deprecated method (AppFlowy-IO#417)
  fix: replace matches on the same node (AppFlowy-IO#418)
  fix: rect of the divider block is incorrect (AppFlowy-IO#415)
  chore: bump version 1.2.4 (AppFlowy-IO#414)
  feat: migrate copy paste command from AppFlowy (AppFlowy-IO#413)
  feat: added support for custom parser for markdown to document (AppFlowy-IO#403)
  feat: improve CJK IME support
  feat: add support for context menu items to the editor
  fix: refactor _onSelectionChange method to update _showPlaceholder state more efficiently
  fix: typo (AppFlowy-IO#408)
  Fix selected nodes (AppFlowy-IO#407)
  fix: miss the nested node when copying (AppFlowy-IO#406)
q200892907 added a commit to q200892907/appflowy-editor that referenced this pull request Sep 5, 2023
* main:
  feat: simplify auto scroll behavior in ScrollServiceWidget (AppFlowy-IO#437)
  chore: bump version 1.3.0 (AppFlowy-IO#435)
  fix: better column resize performance (AppFlowy-IO#434)
  fix: table padding and selection (AppFlowy-IO#432)
  fix: table block bugs (AppFlowy-IO#431)
  fix: refactor text alignment handling in block components
  Revert "fix: remove flutter overlay (AppFlowy-IO#358)" (AppFlowy-IO#427)
  feat: support alignment for block component (AppFlowy-IO#425)
  fix: remove flutter overlay (AppFlowy-IO#358)
  feat: toggle highlight using ctrl/cmd + shift + h (AppFlowy-IO#333)
  feat: table plugin (AppFlowy-IO#62)
  feat: editor state update node (AppFlowy-IO#405)
  fix: exception on prev node text direction null (AppFlowy-IO#404)
  fix: html encoder not adding multiple text decorations (AppFlowy-IO#424)
  feat: default text direction property (AppFlowy-IO#402)
  fix: fixed the cursor not moving to next line after inserting divider (AppFlowy-IO#371)
  chore: update theme colors for editor
  feat: refactor floating toolbar positioning logic
  fix: update resizable image width calculation with minimum width constraint
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] Divider Throwing Error
4 participants