diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index dcf7433f..3c4a7622 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -12,7 +12,7 @@ nexus-publish = "2.0.0-rc-1" # For sample compose-compiler = "1.5.4" activity-compose = "1.8.2" -voyager = "1.0.0" +voyager = "1.1.0-alpha03" richeditor = "1.0.0-rc01" android-minSdk = "21" android-compileSdk = "34" diff --git a/richeditor-compose/src/commonMain/kotlin/com/mohamedrejeb/richeditor/model/RichTextState.kt b/richeditor-compose/src/commonMain/kotlin/com/mohamedrejeb/richeditor/model/RichTextState.kt index 47367c43..a453e507 100644 --- a/richeditor-compose/src/commonMain/kotlin/com/mohamedrejeb/richeditor/model/RichTextState.kt +++ b/richeditor-compose/src/commonMain/kotlin/com/mohamedrejeb/richeditor/model/RichTextState.kt @@ -701,7 +701,7 @@ class RichTextState internal constructor( } styledRichSpanList.clear() - textFieldValue = newTextFieldValue.copy(text = annotatedString.te) + textFieldValue = newTextFieldValue.copy(text = annotatedString.text) visualTransformation = VisualTransformation { _ -> TransformedText( annotatedString,