Closed jserTang closed 3 months ago
I seem to have located the problem because I have set the css style 'display: inline-flex' on the s tag and the text will not be allowed to wrap when there are any other tags inside the s tag (e.g. the u tag). If the s tag is just plain text, that's fine. This looks like a browser bug. Oddly enough, this is only happens on Android.
Which packages did you experience the bug in?
core, react, underline, text, text-style, text-align, highlight, table, color, image, link, bullet-list, list-item, placeholder
What Tiptap version are you using?
2.2.4
What’s the bug you are facing?
In Android phone, when a piece of text is configured with both a line-through and an underline, pressing enter between the texts will not be wrapped.
There are no errors in the browser console.
This works fine on the pc side of the browser.
Device: Android Chrome
What browser are you using?
Chrome
Code example
No response
What did you expect to happen?
When you press Enter on your phone's soft keyboard, it should be split into two lines of text.
Anything to add? (optional)
Did you update your dependencies?
Are you sponsoring us?