humhub / humhub-prosemirror

Other
17 stars 8 forks source link

Allow relative URL for links #136

Closed yurabakhtin closed 7 months ago

yurabakhtin commented 8 months ago

Try to create link with relative url:

relative

press OK and reopen again the edit form:

relative2

We should allow to create a relative links.

I think here https://github.com/humhub/humhub-prosemirror/blob/master/src/editor/core/plugins/link/menu.js#L76 we should allow this by config option relative: true and then allow to render such urls correctly instead of current converting such url to #.