AppFlowy-IO / appflowy-editor

A highly customizable rich-text editor for Flutter. The AppFlowy Editor project for AppFlowy and beyond.
https://pub.dev/packages/appflowy_editor
Other
473 stars 201 forks source link

fix: replace texts assertion #938

Closed LucasXu0 closed 1 month ago

LucasXu0 commented 1 month ago

If the last node after slicing is empty, don't combine the last replace text with it.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 94.44444% with 6 lines in your changes missing coverage. Please review.

Project coverage is 72.07%. Comparing base (4509123) to head (5a04775). Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
lib/src/core/transform/transaction.dart 94.44% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #938 +/- ## ========================================== + Coverage 72.05% 72.07% +0.01% ========================================== Files 318 318 Lines 15064 15074 +10 ========================================== + Hits 10854 10864 +10 Misses 4210 4210 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.