|
|
@ -219,7 +219,7 @@ mixin RawEditorStateTextInputClientMixin on EditorState |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// TODO: A bug here too |
|
|
|
// TODO: The same bug here |
|
|
|
|
|
|
|
|
|
|
|
if (widget.configurations.controller.selectedFontSize != null) { |
|
|
|
if (widget.configurations.controller.selectedFontSize != null) { |
|
|
|
widget.configurations.controller.formatSelection( |
|
|
|
widget.configurations.controller.formatSelection( |
|
|
@ -233,6 +233,8 @@ mixin RawEditorStateTextInputClientMixin on EditorState |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: The same bug here |
|
|
|
|
|
|
|
|
|
|
|
widget.configurations.controller.selectedStyles.forEach((key, value) { |
|
|
|
widget.configurations.controller.selectedStyles.forEach((key, value) { |
|
|
|
if (value ?? false) { |
|
|
|
if (value ?? false) { |
|
|
|
widget.configurations.controller.formatSelection(key); |
|
|
|
widget.configurations.controller.formatSelection(key); |
|
|
|