fritx / vue-at

At.js for Vue.
https://fritx.github.io/vue-at/
MIT License
529 stars 114 forks source link

Functionality Request: Allow other autocomplete (emoji with : and Tasks with /) #53

Open jrvaja opened 6 years ago

jrvaja commented 6 years ago

Hey Team, @Brimstedt @jezzdk @wangbinyq @4ver @Alideniz This is really awesome package for any vuejs editor. It's easy to integrate.

I request to provide two more feature to make this much powerful:

Let me know your view on it.

Brimstedt commented 6 years ago

Your first bullet is covered with pull request #54 I believe, please give it a try. (Probably better to keep one feature request per issue)

jrvaja commented 6 years ago

Hey @Brimstedt ,

It works fine! Thank you.

Best Regards, Jaimin

jrvaja commented 6 years ago

Hey @Brimstedt

Is it possible to make @ or symbol as bold or just like GITHUB?

You can refer this comment, where I have tagged you here. So both your username as well as @ turns to bold once it post the comment.

fritx commented 6 years ago

Is it the same request with (related to) #13 (Insert html instead of text) ? And awesome PR #54 :+1: @Brimstedt @jrvaja

jrvaja commented 6 years ago

@fritx Yes, it's same.

jrvaja commented 6 years ago

Hey Team,

@Brimstedt @fritx @jezzdk @wangbinyq @4ver

What is your opinion for Functionality Request: Allow other autocomplete (emoji with : and Tasks with /) ?

Ref: http://ichord.github.io/At.js/

This would be a great feature of Vue-at, if user can have auto-complete with flexibility. User can define key-press and handler functions.

Just like: at.js has.

@ for user tagging : for emojis / for task (with the help of slot/props/events - user can customise key-press event and action)

Will we have this kind of feature with Vue-at?

I appreciate you inputs. :)

Best Regards,

fritx commented 6 years ago

@jrvaja I'm not sure, help wanted!

I've recorded a gif which demos my current wip implementation (based on awesome work from @Brimstedt ).

Branch: as mentioned above: https://github.com/fritx/vue-at/commit/7cdcea18613173806c1dbfd1b5ff781cc4d41add

Brimstedt commented 6 years ago

nice :-)

On Wed, Apr 4, 2018 at 6:10 PM, Fritz Lin notifications@github.com wrote:

@jrvaja https://github.com/jrvaja I'm not sure, help wanted!

I've recorded a gif which demos my current wip implementation (based on awesome work from @Brimstedt https://github.com/Brimstedt ).

https://user-images.githubusercontent.com/6647633/38319681-0902d18c-3865-11e8-886f-db3496367e7c.gif

Branch: as mentioned above: 7cdcea1 https://github.com/fritx/vue-at/commit/7cdcea18613173806c1dbfd1b5ff781cc4d41add

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fritx/vue-at/issues/53#issuecomment-378656548, or mute the thread https://github.com/notifications/unsubscribe-auth/AAORgh-eMQxvdcExaPutCxZaf7aqAaBKks5tlPBYgaJpZM4TB5Am .

fritx commented 6 years ago

@Brimstedt I'm not sure is it stable and have almost no bugs to be released (probably would last some time).

My implementation has gone far more ugly (needs optimization), what about yours? (I've shown that when caret moving or deleting there were problems)

jrvaja commented 6 years ago

@fritx I understand. Let me try Branch: demo/try-emoji.