Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: typo

Lucas.Xufdbecd7f100b
diff --git a/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/rich_text_style.dart b/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/rich_text_style.dart
index 29677cdce9..daad186fc2 100644
--- a/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/rich_text_style.dart
+++ b/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/rich_text_style.dart
@@ -146,7 +146,7 @@ extension DeltaAttributesExtensions on Attributes {
return null;
}
- Color? get hightlightColor {
+ Color? get highlightColor {
if (containsKey(StyleKey.highlightColor) &&
this[StyleKey.highlightColor] is String) {
return Color(
@@ -228,7 +228,7 @@ class RichTextStyle {
}
Color get backgroundColor {
- return attributes.hightlightColor ?? Colors.transparent;
+ return attributes.highlightColor ?? Colors.transparent;
}
// font size