mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: exclude hyphen in code block (#4183)
This commit is contained in:
parent
366e28752c
commit
890285bb7b
@ -36,7 +36,7 @@ final CharacterShortcutEvent enterInCodeBlock = CharacterShortcutEvent(
|
|||||||
/// - mobile
|
/// - mobile
|
||||||
///
|
///
|
||||||
final List<CharacterShortcutEvent> ignoreKeysInCodeBlock =
|
final List<CharacterShortcutEvent> ignoreKeysInCodeBlock =
|
||||||
[' ', '/', '_', '*', '~']
|
[' ', '/', '_', '*', '~', '-']
|
||||||
.map(
|
.map(
|
||||||
(e) => CharacterShortcutEvent(
|
(e) => CharacterShortcutEvent(
|
||||||
key: 'press enter in code block',
|
key: 'press enter in code block',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user