Skip to content

ranemihir/editorjs-user-mention-tool

Repository files navigation

User Mention Functionality for Editor.js

Screenshot1

Screenshot2

  • The User Mention Functionality allows the editor.js to add tags which link to the selected users.
  • It is detached from the EditorJS project, so that it will not affect updating the plugins or the EditorJS project itself.

Example

Below is an example of how User Mention Funtionality has to be implemented:

new UserMention({
    holder: 'editorjs',
    allUsers: [
        {
            "id": "21029",
            "name": "Sperk",
            "slug": "sperk"
        }
    ],
    baseUrl: 'https://fatcap.com/', 
    searchAPIUrl: 'https://www.searchapi.com/'
});

Properties

Properties Explaination
holder editorjs hodler property
allUsers all user objects
baseUrl base URL for linking users
searchAPIUrl search API URL

About

An EditorJS tool to add user tags.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published