Fritz Lin
Fritz Lin
Hey guys, 2.3.0 is out including this feature: emitting `at` event. for usage demo see above: https://github.com/fritx/vue-at/issues/16#issuecomment-332897002 However, it is not documented yet, and it is quite experimental for now,...
What about your code? Did you bind v-model? @johnenrick
@gmatkowski ahh.. let me have a look. Btw, which browser and version are you using?
@gmatkowski oh i'm sorry the bug does exist!
@louisscrew 参考 #34 vue-at 没有替用户实现提取信息的功能,这个逻辑最好是放在后端做 如果需要在前端做,大概是字符串匹配 为什么是字符串匹配,而不是通过事件记录?因为: - 有可能从别处加载/粘贴一段带`@`的文本,此时并不是`select`事件触发,但我们依然需要匹配出其中的`@`信息 vue-at 没有替用户做,是因为: - 后端也可能出现同等的逻辑,尽量不在前端耦合 我尽快尝试一下提供一段基础的匹配逻辑,并加入到 vue-at,感谢使用 xD
@lisandrop05 can you provide your code example? btw, is this live demo working for you? https://coldemo.js.org/#/playground/vue-at.js
@lisandrop05 did you use low versions of IE? ref: https://github.com/fritx/vue-at/issues/109#issuecomment-530345766
@von7750 对目前只是提取innerHTL进行简单的插入,还没找到办法能在这支持vue语法 embededItem.innerHTML调用处 https://github.com/fritx/vue-at/blob/dev/src/At.vue#L468-L469
@anlek vue-at doesn't do that thing for us 😆 - it's just a decorator/helper on textareas. it'd be better we have our own functions to transform before/after the text-rendering, as...
There is no "text array", vue-at just helps us type and @people in the editor If I'm missing anything xD I'm a bit long away from the library, my bad