From 6bbf680cc5eaabed7a5c96ad783610e26a1b6e79 Mon Sep 17 00:00:00 2001 From: Ellet Date: Fri, 8 Dec 2023 17:59:48 +0300 Subject: [PATCH] Add a bug todo --- lib/src/widgets/raw_editor/raw_editor_state.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/widgets/raw_editor/raw_editor_state.dart b/lib/src/widgets/raw_editor/raw_editor_state.dart index 31cffbeb..84af3316 100644 --- a/lib/src/widgets/raw_editor/raw_editor_state.dart +++ b/lib/src/widgets/raw_editor/raw_editor_state.dart @@ -205,6 +205,8 @@ class QuillRawEditorState extends EditorState return; } + // TODO: Bug, Doesn't replace the selected text, it just add a new one + final reader = await ClipboardReader.readClipboard(); if (reader.canProvide(Formats.htmlText)) { final html = await reader.readValue(Formats.htmlText);