MohamedRejeb / compose-rich-editor

A Rich text editor library for both Jetpack Compose and Compose Multiplatform, fully customizable, supports HTML and Markdown.
https://mohamedrejeb.github.io/compose-rich-editor/
Apache License 2.0
1.09k stars 64 forks source link

How to set height line? #338

Open zyk-mjzs opened 4 weeks ago

zyk-mjzs commented 4 weeks ago

The line heights of carriage return and automatic line wrap are inconsistent

WX20240919-120310 qq_pic_merged_1726718560834

MohamedRejeb commented 3 weeks ago

Hi, Thanks for submitting this issue. I'm using annotated string from Compose to handle paragraphs, and line height doesn't have any effect when you add a line break manually. For now there's no fix for this issue unfortunately, but I'll switch to BTF2 soon, which should solve a lot of issues and limitations coming from BTF.