Open xinlangzi opened 5 years ago
@xinlangzi hey, had no idea. Did you solve the space problem now?
@fritx
Yes. Please add the css into the div
white-space: pre-wrap;
@truckerzoom sorry, the point was missing in guide.
Yeah, we had to add that line to whatever your content-editable editor, as I did in the demo
https://github.com/fritx/vue-at/blob/725d7a1470e9cc309ae2b7d04deddf8ccf9ceb05/src/App.vue#L135
Make it a js option not css fix
@mihailvalchev @truckerzoom I used to think that it should be considered as the editor css style, not included in vue-at, but now I think you might be right, I could provide an option and sets the css to <at>
wrapper?
After choose the matched item, the space is not append. I saw your demo does append SPACE.