Description
openedon Sep 7, 2023
Describe the bug
If i mark a section of text i can set a link to a website whilst i can not do the same thing when i set a Link to a different Collectives Page via the Smartpicker. In that case the sected text is replaced by the string of the actual Link.
Expected behavior
I think the desirable behaviour for all tree kinds of linking(File/Website/Smart-Picker) would be dependent on the state of the text courser: If text is selected -> add the resource as a link to the selected section of text, if nothing is selected add the URL to the position of the courser, If nothing is selected and the courser is in an empty line with a line brake at the end and an empty line after it, or no line after it at all, a preview or if possible the resource itself should be rendered.
Client details:
- Browser: [firefox]
- Version: [116.0.2 (64-Bit)]
- Device: [desktop]
Collectives app version: (2.7.0)
Metadata
Assignees
Labels
Type
Projects
Status
☑️ Done