editor.js icon indicating copy to clipboard operation
editor.js copied to clipboard

[Inline Tool] Mentions

Open neSpecc opened this issue 8 years ago • 16 comments

Design: zpl.io/aBN4oBp

Config items:

Array of {title, image?, url?, id?}

neSpecc avatar Sep 19 '18 05:09 neSpecc

is there still a plan to support mentions feature?

mydearxym avatar Aug 16 '19 14:08 mydearxym

Yes, is this still planned? Unfortunately, mentions are necessary in order for me to switch from Quill :)

zsoflin avatar Aug 26 '19 20:08 zsoflin

Can you share the designs of mentions plugin? I want to implement it (I need it for my pet project and I'd be happy to share implementation with community)

SammyVimes avatar Oct 31 '19 06:10 SammyVimes

@SammyVimes here is a draft:

Try to use Inline Tools API. If you will need some methods that we does not provide, write us.

neSpecc avatar Oct 31 '19 15:10 neSpecc

@neSpecc I guess mentions tool should listen for every input change (in case of new character is @) unlike other tools. I hope that will not affect performance too much 😃

SammyVimes avatar Oct 31 '19 21:10 SammyVimes

@SammyVimes Did you end up implemented this?

Let me know if I can help.

Steve1820 avatar May 10 '20 12:05 Steve1820

@SammyVimes @Steve1820 I'm curious too. It would be great to have it.

ckissi avatar Jun 01 '20 16:06 ckissi

@SammyVimes @Steve1820 @ckissi yeah I'm going to attempt this now but would love to know if anyone has been able to do it. I saw https://github.com/mydearxym/editor-mention but I couldn't get that working.

GuruM avatar Aug 23 '20 01:08 GuruM

Yes, is this still planned? Unfortunately, mentions are necessary in order for me to switch from Quill :)

i created the plugin for same for my own use

akshayrathodar avatar Nov 21 '20 05:11 akshayrathodar

@akshayrathodar this plugin is public? thanks

aromero86 avatar Nov 22 '20 12:11 aromero86

this plugin is public? thanks

no but i can help you regard this or can share you my code

akshayrathodar avatar Nov 23 '20 05:11 akshayrathodar

@akshayrathodar it would be nice have an starting point. I would be very grateful if you could share your code. Of course, if something interesting comes from there, I would go to the EditorJS community

no but i can help you regard this or can share you my code

aromero86 avatar Nov 23 '20 07:11 aromero86

@akshayrathodar Hi, can you share your code ? I've the same needs. Thx

romainhe avatar Feb 14 '21 09:02 romainhe

@akshayrathodar Hi, I will also appreciate if you share me the code. Thank you.

kennyd98 avatar Feb 18 '21 00:02 kennyd98

If I understand this issue properly, the workflow would be:

  1. Type the name of the person you want to mention
  2. Click on the inline tool
  3. The mention is now linked.

I don't find this workflow optimal, and I think we need a new kind of tool to tackle this issue, so I created #1623

jeremyVignelles avatar Apr 05 '21 08:04 jeremyVignelles

This might be the one you're looking for, although, it needs a backend that has a search functionality, should be easy if you already have a backend API running:

@mrpritchett/editorjs-mentions

russelshane avatar Aug 09 '21 17:08 russelshane