Skip to content

Commit

Permalink
Add a bug todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellet committed Dec 8, 2023
1 parent 34b8755 commit 6bbf680
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/widgets/raw_editor/raw_editor_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6bbf680

Please sign in to comment.