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

Cannot edit content #11

Closed dsdsdsdsdsds closed 1 year ago

dsdsdsdsdsds commented 1 year ago

I’m not sure if I miss something obvious, but I’m unable to actually add/edit content on Nuxt 3: contenteditable stays always false.

I followed your example in the docs and also had a look at https://github.com/wobsoriano/lexical-vue/issues/4, but I can’t seem to get it work neither in my project nor in a sandbox (https://stackblitz.com/edit/nuxt-starter-bk7zmb). Any idea? Is lexical-vue compatible with lexical 0.8.1?

atif0075 commented 1 year ago

Also happened to me in vue 3

toniengelhardt commented 1 year ago

You have to add editable: true to the config, then it works.

wobsoriano commented 1 year ago

as @toniengelhardt , you have to add editable: true. Thanks!

dsdsdsdsdsds commented 1 year ago

@wobsoriano Thanks for adding it to the docs.