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.16k stars 76 forks source link

How to set height line? #338

Open zyk-mjzs opened 2 months ago

zyk-mjzs commented 2 months ago

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

WX20240919-120310 qq_pic_merged_1726718560834

MohamedRejeb commented 2 months 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.