vue-at icon indicating copy to clipboard operation
vue-at copied to clipboard

Add hook to selection

Open mankowitz opened this issue 7 years ago • 4 comments

I added an overwritable function called processItem that allows the user to process the mention before inserting it in the element

mankowitz avatar Mar 15 '18 06:03 mankowitz

@mankowitz good idea.

I guess a corresponding deleteMatch should be defined to use together with processItem??

  deleteMatch: {
    type: Function,
    default: (name, chunk, suffix) => {
      return chunk === name + suffix
    }
  },

fritx avatar Mar 25 '18 15:03 fritx

@fritx - Can you merge the processItem into the next build?

mankowitz avatar Aug 27 '18 15:08 mankowitz

@mankowitz sorry.. but have a look at my previous comments :D

The changes seem to be more than just one feature, I want things to be nailed in certain commits.

And also, I would switch to slot-scope in a separated commit and bump since it would no longer work with Vue 2.4.x

fritx avatar Aug 28 '18 11:08 fritx

@mankowitz i'm sorry you have deleted the source of this PR and also there are some conflicts in it that I can not merge it right now.

fritx avatar Sep 06 '18 12:09 fritx