Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: local variable 'text' isn't used

Andreas Bichinger53118a6c51fc
diff --git a/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/markdown_syntax_to_styled_text.dart b/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/markdown_syntax_to_styled_text.dart
index dc28df524e..6652bba874 100644
--- a/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/markdown_syntax_to_styled_text.dart
+++ b/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/markdown_syntax_to_styled_text.dart
@@ -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;