Add bug todo fix

pull/1578/head
Ellet 1 year ago
parent 0fd1125d40
commit 34b8755cc9
No known key found for this signature in database
GPG Key ID: C488CC70BBCEF0D1
  1. 3
      doc/todo.md
  2. 5
      lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart

@ -34,7 +34,10 @@ This is a todo list page that added recently and will be updated soon.
- Fix the bugs of the font family and font size
- Try to update Quill Html Converter
- When pasting a HTML text from cliboard by not using the context menu builder, the new logic won't work
- When selecting all text and paste HTML text, it will not replace the current text, instead it will add a text
- Add strike-through in checkbox text when the checkpoint is checked
- No more using of dynamic
- There is a bug here, the first character is not being formatted when choosing font family or font size and type in the editor
### Bugs

@ -207,6 +207,9 @@ mixin RawEditorStateTextInputClientMixin on EditorState
diff.inserted,
value.selection,
);
// TODO: There is a bug here, the first character is not being formatted
if (widget.configurations.controller.selectedFontFamily != null) {
widget.configurations.controller.formatText(
diff.start,
@ -218,6 +221,8 @@ mixin RawEditorStateTextInputClientMixin on EditorState
);
}
// TODO: A bug here too
if (widget.configurations.controller.selectedFontSize != null) {
widget.configurations.controller.formatText(
diff.start,

Loading…
Cancel
Save