You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inline format should be preserved on new line like in other standard editors
Observed
Inline format gets removed on new line
Reproduced
Select Bold and type something
Enter a new line
Type new text. Bold format gets removed
Tested
[One Plus 7 Pro] on [11] with [1.5.3]
Seems like existing behaviour for library.
I have made a fix by making local changes to the library under applyInlineStyle in InlineFormatter.kt by moving the start position to first character before '\n' and checking its span.
Also dropped newline check under handleInlineStyling() in InlineFormatter.kt
Please let me know if this logic needs to be submitted as a Pull Request to the Editor
The text was updated successfully, but these errors were encountered:
Please let me know if this logic needs to be submitted as a Pull Request to the Editor
Thanks for ticket @kulkarni46 and sure, feel free to open a PR! That said, not many folks are focused on Aztec at the moment so, it might take a bit of time for the review to go through.
Expected
Inline format should be preserved on new line like in other standard editors
Observed
Inline format gets removed on new line
Reproduced
Tested
[One Plus 7 Pro] on [11] with [1.5.3]
Seems like existing behaviour for library.
I have made a fix by making local changes to the library under applyInlineStyle in InlineFormatter.kt by moving the start position to first character before '\n' and checking its span.
Also dropped newline check under handleInlineStyling() in InlineFormatter.kt
Please let me know if this logic needs to be submitted as a Pull Request to the Editor
The text was updated successfully, but these errors were encountered: