Releases: MohamedRejeb/compose-rich-editor
Releases · MohamedRejeb/compose-rich-editor
v1.0.0-rc10
What's Changed
- Remove ExperimentalRichTextApi annotation from ImageLoader interface by @MohamedRejeb in #393
- Fix crash when initial Markdown starts with
"<br>"
tag by @MohamedRejeb in #399 - 396 fix out of bounds crash by @abarrafo in #398
- Remove unnecessary !! by @MohamedRejeb in #400
- Fix issue with removeTextRange. by @MohamedRejeb in #403
- Fix material reference in material3 code by @SaurabhSandav in #405
- Fix issue with converting headings to Markdown by @MohamedRejeb in #410
- Trim paragraphs on converting to and from Markdown by @MohamedRejeb in #411
- Update Kotlin to 2.0.21 and Compose to 1.7.0 by @MohamedRejeb in #412
- Update Coil to 3.0.1 by @MohamedRejeb in #413
- Update AGP to 8.5.2 by @MohamedRejeb in #415
- Fix auto-detect ordered list start takes only the first digit by @MohamedRejeb in #416
New Contributors
- @abarrafo made their first contribution in #398
- @SaurabhSandav made their first contribution in #405
Full Changelog: v1.0.0-rc09...v1.0.0-rc10
v1.0.0-rc09
What's Changed
- Fix cursor and line become out of sync when deleting rows of text by @MohamedRejeb in #377
- Remove unnecessary while (true) inside BasicRichText pointerInput by @MohamedRejeb in #378
- Fix spaces around span style break formatting in resulting markdown by @MohamedRejeb in #379
Full Changelog: v1.0.0-rc08...v1.0.0-rc09
v1.0.0-rc08
What's Changed
- Hide the image if the url is changed and return no data by @MohamedRejeb in #352
- Fix cursor position issue on Desktop by @MohamedRejeb in #353
- Fix RichTextState.toHtml() append an additional
<br>
when the last line is empty by @MohamedRejeb in #357 - Fix adding newline toggles back removed span style by @MohamedRejeb in #363
- Support parsing markdown with spaces in style edges by @MohamedRejeb in #364
- Fix undo adding list item by @MohamedRejeb in #365
- Fix list items loaded from markdown jump to the left when starting editing by @MohamedRejeb in #366
- Fix Bold+italic style is not recognized when parsing markdown by @MohamedRejeb in #367
- Improve unordered list multiline items rendering by @MohamedRejeb in #368
- Add orderedListIndent and unorderedListIndent by @MohamedRejeb in #370
- Support String Operations on Rich Text while retaining styles by @MohamedRejeb in #371
Full Changelog: v1.0.0-rc07...v1.0.0-rc08
v1.0.0-rc07
What's Changed
- Fix
$
sign disappears issue when trying to encodeRichTextState
from Markdown by @MohamedRejeb in #335 - Fix issue with android auto-fill feature by @MohamedRejeb in #339
- Fix bare URLs are getting cleared on Markdown by @MohamedRejeb in #340
- Show images on RichText without explicitly setting width and height by @MohamedRejeb in #343
- Support loading images from markdown by @MohamedRejeb in #345
- Update Kotlin to 2.0.20 by @MohamedRejeb in #346
Full Changelog: v1.0.0-rc06...v1.0.0-rc07
v1.0.0-rc06
What's Changed
- Ignore empty paragraphs in HTML to match browser rendering by @MohamedRejeb in #289
- Add Image support to RichText by @MohamedRejeb in #305
- Set up BCV by @Goooler in #309
- Fix build action by @MohamedRejeb in #310
- Enable Explicit API mode by @Goooler in #312
- Improve HTML import by @MohamedRejeb in #316
- Support inline HTML tags in Markdown by @MohamedRejeb in #317
- Fix bug when managing first line by @MohamedRejeb in #318
- Reset styling on multiple new line by @MohamedRejeb in #319
- Update LICENSE by @MohamedRejeb in #323
- Support clearing spans by @Goooler in #315
- Clear all spans by @MohamedRejeb in #324
- Add toText method by @MohamedRejeb in #326
- Fix StringIndexOutOfBoundsException on add new line by @MohamedRejeb in #329
- Update kotlin to 2.0.10 by @MohamedRejeb in #286
- Fix loading images in web sample by @MohamedRejeb in #330
New Contributors
Full Changelog: v1.0.0-rc05-k2...v1.0.0-rc06
v1.0.0-rc05-k2
I will keep K1 support to give everyone time to migrate and getting the latest fixes and features. I will publish K1 and K2 versions in parallel for a few weeks.
- Update Kotlin to 2.0.0 by @MohamedRejeb in #286
Full Changelog: v1.0.0-rc05...v1.0.0-rc05-k2
v1.0.0-rc05
What's Changed
- Option to change list indent from config by @T8RIN in #256
- Apply ordered and unordered list to all selected paragraphs (Update RichTextState.kt) by @MedvedevaElena in #257
- Fix encoding rich text from html bug when html starts with
by @MohamedRejeb in #259 - Update Ksoup to 0.3.2 by @MohamedRejeb in #260
- Apply ordered and unordered list to all selection by @MohamedRejeb in #263
- Improve docs dark mode by @MohamedRejeb in #268
- Add snapshot to docs FAQ by @MohamedRejeb in #269
- Fix losing RichSpanStyle on applying SpanStyle and improve tree simplification by @MohamedRejeb in #273
- Add config to preserve styles on empty line (Delete all chars or add new line) by @MohamedRejeb in #277
- Set preserveStyleOnEmptyLine default value to true by @MohamedRejeb in #278
- Support changing SpanStyle and RichSpanStyle by text range. by @MohamedRejeb in #279
- Support getting SpanStyle, RichSpanStyle and ParagraphStyle by text range. by @MohamedRejeb in #280
- Update Kotlin to 1.9.24 and Compose to 1.6.10 by @MohamedRejeb in #283
New Contributors
Full Changelog: v1.0.0-rc04...v1.0.0-rc05
v1.0.0-rc04
What's Changed
- Fix bug on adding new lines by @MohamedRejeb in #238
- Add WASM Support by @MohamedRejeb in #239
- Fix list items numbering issue by @MohamedRejeb in #240
- Fix bug with undo by @MohamedRejeb in #241
- Add list auto formatting by @MohamedRejeb in #242
- Support replacing selected text by @MohamedRejeb in #243
- Improve markdown encoding by @MohamedRejeb in #245
- Update Compose to 1.6.1 by @MohamedRejeb in #247
Full Changelog: v1.0.0-rc03...v1.0.0-rc04
v1.0.0-rc03
What's Changed
- Expose BasicRichTextEditor by @Wavesonics in #216
- Return this for chaining by @Wavesonics in #217
- Export html with tags instead of styling when applicable by @donovan-fournier in #219
- Fix Crash when setting maxLines in Text by @MohamedRejeb in #222
- Fix isRichSpan method bug by @MohamedRejeb in #225
- Fix getBoundingBoxes returning emptyList when the last line is empty by @MohamedRejeb in #226
- Support add link to current selection by @MohamedRejeb in #228
- Support editing existing Link and deleting Link by @MohamedRejeb in #229
- Update links docs by @MohamedRejeb in #230
New Contributors
- @donovan-fournier made their first contribution in #219
Full Changelog: v1.0.0-rc02...v1.0.0-rc03
v1.0.0-rc02
What's Changed
- Add onTextLayout to OutlinedRichTextEditor by @Wavesonics in #181
- Toolchain resolver by @Wavesonics in #185
- Custom richtext spans by @Wavesonics in #184
- Simplify rich text tree by @MohamedRejeb in #192
- Exmaple of link handling by @Wavesonics in #195
- Fix setText crash when adding multiple lines by @MohamedRejeb in #200
- Replace Empty Line with line break when converting to HTML by @MohamedRejeb in #201
- Fix RichText exception (IndexOutOfBoundsException) by @MohamedRejeb in #202
- Update ParagraphStyleExt.kt (fixes #190) by @MedvedevaElena in #211
- Fix index out of bounds crashes by @MohamedRejeb in #212
- Update Compose to 1.6.0 by @MohamedRejeb in #212
- Fix code tag processing by @garretyoder in #210
New Contributors
- @Wavesonics made their first contribution in #181
- @MedvedevaElena made their first contribution in #211
- @garretyoder made their first contribution in #210
Full Changelog: v1.0.0-rc01...v1.0.0-rc02