wobsoriano / lexical-vue

An extensible Vue 3 web text-editor based on Lexical.
https://lexical-vue.vercel.app/
MIT License
251 stars 30 forks source link

Move placeholder behind caret #15

Closed zswaff closed 1 year ago

zswaff commented 1 year ago

Hey again @wobsoriano, hope you're doing well.

I found that the placeholder appears on top of the caret. By swapping the order of these slots the placeholder appears behind the caret.

Before After
Screenshot 2023-03-29 at 10 35 19 PM Screenshot 2023-03-29 at 10 37 07 PM

Let me know if I can improve or if you'd like these PRs in a different format. I expect there may be more like this if that's cool with you.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
lexical-vue ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 30, 2023 at 5:39AM (UTC)
lexical-vue-playground ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 30, 2023 at 5:39AM (UTC)
wobsoriano commented 1 year ago

This looks good to me. Thank you!