Add new todo

pull/1578/head
Ellet 1 year ago
parent fb65d0ce08
commit 0be81a7bf9
No known key found for this signature in database
GPG Key ID: C488CC70BBCEF0D1
  1. 1
      doc/todo.md
  2. 20
      lib/src/widgets/raw_editor/raw_editor_state.dart

@ -33,6 +33,7 @@ This is a todo list page that added recently and will be updated soon.
- Change the color of the numbers and dots in ol/ul to match the ones in the item list - Change the color of the numbers and dots in ol/ul to match the ones in the item list
- Fix the bugs of the font family and font size - Fix the bugs of the font family and font size
- Try to update Quill Html Converter - 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
### Bugs ### Bugs

@ -117,26 +117,6 @@ class QuillRawEditorState extends EditorState
.call(content); .call(content);
} }
// List<ContextMenuButtonItem> get contextMenuButtonItems {
// return EditableText.getEditableButtonItems(
// clipboardStatus: _clipboardStatus.value,
// onLiveTextInput: null,
// onCopy: copyEnabled
// ? () => copySelection(SelectionChangedCause.toolbar)
// : null,
// onCut:
// cutEnabled ? () => cutSelection(SelectionChangedCause.toolbar) : null,
// onPaste:
// pasteEnabled ? () => pasteText(SelectionChangedCause.toolbar) : null,
// onSelectAll: selectAllEnabled
// ? () => selectAll(SelectionChangedCause.toolbar)
// : null,
// onLookUp: null,
// onSearchWeb: null,
// onShare: null,
// );
// }
/// Copy current selection to [Clipboard]. /// Copy current selection to [Clipboard].
@override @override
void copySelection(SelectionChangedCause cause) { void copySelection(SelectionChangedCause cause) {

Loading…
Cancel
Save