diff --git a/lib/src/render/style/editor_style.dart b/lib/src/render/style/editor_style.dart index b35102c36..a87e1947a 100644 --- a/lib/src/render/style/editor_style.dart +++ b/lib/src/render/style/editor_style.dart @@ -101,6 +101,7 @@ class EditorStyle extends ThemeExtension { double? lineHeight, Color? popupMenuFGColor, Color? popupMenuHoverColor, + EdgeInsets? textPadding, }) { return EditorStyle( padding: padding ?? this.padding, @@ -121,7 +122,7 @@ class EditorStyle extends ThemeExtension { selectionMenuItemSelectedColor ?? this.selectionMenuItemSelectedColor, toolbarColor: toolbarColor ?? this.toolbarColor, toolbarElevation: toolbarElevation ?? this.toolbarElevation, - textPadding: textPadding ?? textPadding, + textPadding: textPadding ?? this.textPadding, textStyle: textStyle ?? this.textStyle, placeholderTextStyle: placeholderTextStyle ?? this.placeholderTextStyle, bold: bold ?? this.bold,