Fritz Lin

Results 364 comments of Fritz Lin

Hi @thanhnx-mor Sorry for the late reply For the "custom a button close(x) the item", pls see the demo (contenteditable div only for now): https://coldemo.github.io/#/playground/vue-at-gh119.js And for the "function to...

@thanhnx-mor I think you're meaning this https://github.com/fritx/vue-at/issues/55 - feature of custom styled tags (embeddedItem) ```vue {{ s.current.name }} ```

@thanhnx-mor looks like related to the popup layer, the position has problem

我测试了一下,应该是ok的,不确定有没有更好的实现方式哈 稍后我在在线文档里补充这个案例。 ```vue @ ``` ```js insertAt () { let { ed } = this.$refs ed.focus() // 如果之前没有焦点,则会定位到文本最前而不是最后,可能可以改进 document.execCommand('insertText', 0, ' ' + this.at) // 一般应该要加空格 let e = document.createEvent('HTMLEvents')...

@sentiasa hey, yes, apology for the missing documentation: The textarea feature came with [email protected], and it was not included in 1.x branch..

Oh I think it's not hard to bring textarea into 1.x branch. I'm gonna do it in couple of days once I'm free.

@sentiasa hey, sorry for the late update, you can try install `vue1-at` insread. Just merged with 2.x branch and publish as a new npm entry due to some breaking changes,...

@sentiasa nice. For question 1, as @youyi1314 said, you find more in docs: https://fritx.github.io/vue-at/#/en/customtemplates For question 2, might have not been supported yet, you have to parse the text yourself....

动态获取展示,可以参考一下这个做法 https://github.com/fritx/vue-at/issues/16#issuecomment-332897002 ,但不确定能否暂时解决你的问题

hi @fistSea @meatfound , is this live demo working for both of you? https://coldemo.js.org/#/playground/vue-at.js try to add handleAt like ```js let App = { components: { At: VueAt }, template:...