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...
* [ ] Try to handle clicks on links in the editor.
### BackEnd requirements
* The backend should send the user mentions as mention tags in the markdown (instead of user#id), following the next format: **<mention data-type=”user” data-id=”1” data-link=”/users/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 handle clicks on links in the editor.
### BackEnd requirements
* The backend should send the user mentions as mention tags in the markdown (instead of user#id), following the next format: **<mention data-type=”user” data-id=”1”
### Notes
* There are different types of users so it's not sure that the mentions will always start with 'user#'