fritx / vue-at

At.js for Vue.
https://fritx.github.io/vue-at/
MIT License
529 stars 114 forks source link

Placeholder #39

Closed rap2hpoutre closed 6 years ago

rap2hpoutre commented 6 years ago

Thanks for your package. It could be great if this component could display a placeholder, just like a regular textarea (maybe it's already possible, but I did not found how)

fritx commented 6 years ago

@rap2hpoutre thanks for using vue-at also. 😄 Which one do you use, divs or textareas?

rap2hpoutre commented 6 years ago

Oops. Sorry! It works with textarea!

hamoudchohan commented 5 years ago

@fritx how can we add placeholders with divs

fritx commented 5 years ago

@hamoudchohan I created a demo: https://codepen.io/fritx/pen/NZpbqW -- "Placeholder for content-editable divs"

Related: https://stackoverflow.com/a/56704079/10939480