Content
View differences
Updated by Aleix Suau over 5 years ago
### Current situation:
* In the edit mode the @mentions include the user id.
* After saving the user is shown as link with the user's name.
**Expected Behavior**
* There shouldn't be a difference between the edit and the show mode
### FrontEnd requirements
* [x] remove @ from the id
* [x] Try to get the link URL from pluginContext > pathHelper...
* [x] Try to handle clicks on links in the editor.
* [x] [ ] Handle group mentions
### BackEnd requirements
* The backend should:
* In the raw markdown data, keep the mention tags as they are sent.
* In the HTML data, translate the <mention> tags to links as it is doing now with user#id
* The mention format: **<mention data-type=”user” data-id=”1” data-text=”@userName”>@userName</mention>**
### Notes
* There are different types of users so it's not sure that the mentions will always start with 'user#'
* In the edit mode the @mentions include the user id.
* After saving the user is shown as link with the user's name.
**Expected Behavior**
* There shouldn't be a difference between the edit and the show mode
### FrontEnd requirements
* [x] remove @ from the id
* [x] Try to get the link URL from pluginContext > pathHelper...
* [x] Try to handle clicks on links in the editor.
* [x]
### BackEnd requirements
* The backend should:
* In the raw markdown data, keep the mention tags as they are sent.
* In the HTML data, translate the <mention> tags to links as it is doing now with user#id
* The mention format: **<mention data-type=”user” data-id=”1” data-text=”@userName”>@userName</mention>**
### Notes
* There are different types of users so it's not sure that the mentions will always start with 'user#'