Repository navigation
Add rich text formatting toolbar to Jetchat input - #1727
Conversation
Adds an inline rich-text editor to the message input, toggled from a new text-format button next to the attachment button. - FormattedTextState / SpanStyleState wrap TextFieldState and manage inline styles (bold, italic, underline, strikethrough, large font) via an InlineStyle enum, plus a cycling text color. - Collapsed-selection toggles are held as pending overrides and applied to the next inserted text. - Style coverage is computed as a union of ranges, so overlapping ranges are not double-counted; adjacent same-style ranges are coalesced. - Toolbar and send-button state are derived via derivedStateOf to avoid recomposing on every keystroke. - Draft text and styles survive configuration changes via a Saver that delegates to TextFieldState.Saver. - Sent messages and video captions carry their AnnotatedString; the message formatter remaps span offsets through markdown-lite tokens so styles stay aligned when delimiters are stripped. Signed-off-by: srikrishnasakunia <sakuniacoolkrishna636@gmail.com>
|
Hello, please provide feedback on pull request #1707. |
⚡ Jetpack Compose Performance ReviewNo Jetpack Compose performance issues were found in the changed code. Analysis & Best Practices ObservedAll newly introduced and modified code in
|
⚡ Jetpack Compose Performance ReviewNo Jetpack Compose performance issues were found in the changed code. The newly introduced and modified code in
|
⚡ Jetpack Compose Performance ReviewNo Jetpack Compose performance issues were found in the changed code. Summary of Performance Best Practices ObservedAll newly introduced and modified code in
|
Adds an inline rich-text editor to the message input