-
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: backslash to ignore shortcut event #635
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #635 +/- ##
==========================================
+ Coverage 76.47% 76.51% +0.04%
==========================================
Files 295 295
Lines 13046 13070 +24
==========================================
+ Hits 9977 10001 +24
Misses 3069 3069 ☔ View full report in Codecov by Sentry. |
I'm seeing some behavior that is quite odd, eg. this should not be formatted as well: And on a sentence where formatting was previously ignored, I should still be able to continue formatting, eg all of this is ignored: RecordingScreen.Recording.2024-01-08.at.20.09.59_compressed.mp4 |
@Xazin
|
...r_component/service/shortcuts/character/format_single_character/format_single_character.dart
Outdated
Show resolved
Hide resolved
Seems some tests are failing that doesn't fail on |
9d0caf5
to
4964915
Compare
@Xazin |
* main: feat: support formatting greater hyphen to single arrow (AppFlowy-IO#665) feat: backslash to ignore shortcut event (AppFlowy-IO#635) fix: solve the problem that Chinese ime cannot continue deleting after deleting input content (AppFlowy-IO#672) # Conflicts: # lib/src/editor/editor_component/service/ime/non_delta_input_service.dart
Feature Preview
To close
AppFlowy-IO/AppFlowy#3628
AppFlowy-IO/AppFlowy#3964
Add the ability to ignore the
CharacterShortcutEvent
Use
\
to skip all the markdown styleFor the wrapped style shortcut events
like _abc_ *abc* _abc_ ~~abc~~ `abc`
Put
\
in front of the enable character.wrapped.style.mov
For the space enabled shortcut events
like - abc, " abc, > abc, # abc, -[] ABC
Put
\
in front of the character before the spacespace.enable.mov