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
I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
I have read the documentation and cannot find an answer.
Describe the bug
On Safari, when the current editor content ends with an element with contenteditable="false" the caret will display at the very start of the editor. This also results in a user not being able to click next to the element to place.
Expected behavior
Like in other browsers, the caret should simply be put next to the element after inserting or when clicking:
Desktop:
OS: MacOS
Browser: Safari
Additional context
This is definitely a bug with Safari itself & not this library per se, however it still breaks the experience for Safari users.
Other libraries have faced the same problem:
MDXEditor uses Lexical. When facebook/lexical#6282 gets merged, the fix will propagate. Feel free to track the problem with Lexical (perhaps there's some additional work to be done on the PR there?) and open a lexical version update for this repository.
Describe the bug
On Safari, when the current editor content ends with an element with
contenteditable="false"
the caret will display at the very start of the editor. This also results in a user not being able to click next to the element to place.To Reproduce
On Safari:
Expected behavior
Like in other browsers, the caret should simply be put next to the element after inserting or when clicking:
Desktop:
Additional context
This is definitely a bug with Safari itself & not this library per se, however it still breaks the experience for Safari users.
Other libraries have faced the same problem:
They have all seemed to fix it using an empty image tag:
The text was updated successfully, but these errors were encountered: