Remove unused comments

pull/1710/head
Ellet 1 year ago
parent 2c490279dc
commit ca06eebbd7
  1. 29
      lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart

@ -206,35 +206,6 @@ mixin RawEditorStateTextInputClientMixin on EditorState
value.selection.copyWith(
affinity: widget.configurations.controller.selection.affinity),
);
// if (widget.configurations.controller.selectedFontFamily != null) {
// widget.configurations.controller.formatSelection(
// Attribute.fromKeyValue(
// Attribute.font.key,
// widget.configurations.controller.selectedFontFamily?.value,
// ),
// );
// }
// if (widget.configurations.controller.selectedFontSize != null) {
// widget.configurations.controller.formatSelection(
// Attribute.fromKeyValue(
// Attribute.size.key,
// widget.configurations.controller.selectedFontSize == '0'
// ? null
// : getFontSize(
// widget.configurations.controller.selectedFontSize,
// ),
// ),
// );
// }
// if (widget.configurations.controller.keepStyleOnNewLine) {
// widget.configurations.controller.selectedStyles.forEach((key, value) {
// if (value ?? false) {
// widget.configurations.controller.formatSelection(key);
// }
// });
// }
}
}

Loading…
Cancel
Save