fritx/vue-at

[Question] How to use v-model and custom tags?

Opened this issue · 0 comments

<vue-at
  :members="users"
  :allow-spaces="false"
  @at="getUsers"
  v-model="html">
  <div
    class="form-control border-input"
    style="height: 80px;"
    contenteditable
  />
  <span
    slot="embeddedItem"
    slot-scope="s">
    <span>prefix{{ s.name }}suffix</span>
  </span>
</vue-at>

2019-10-14_10-25-17

Variable html still showing empty string no matter what I type. Am I putting v-model at the wrong location?
And I'm trying custom tags to add prefix and suffix, but it is also not working. I expect the output to be prefix@superadminsuffix.