fix: local variable 'text' isn't used

This commit is contained in:
Andreas Bichinger 2023-01-12 12:13:42 +01:00
parent d0fd68da95
commit 53118a6c51

View File

@ -196,9 +196,6 @@ ShortcutEventHandler greaterToBlockquote = (editorState, event) {
return KeyEventResult.ignored;
}
final textNode = textNodes.first;
final text = textNode.toPlainText();
//only convert > at the start of a paragraph
if (selection.startIndex != 0) {
return KeyEventResult.ignored;