Open animaux opened 7 months ago
Great idea, will have a look.
Another related problem: when choosing »Page (Seite)« the resulting link-URL will be something like:
[linktext](/@/page/caXlouzhZqmZ2C9P)
This is then not transformed to an actual page url in the frontend, resulting in a nonsense link.
And yet another thing related to this dialogue, which might be coming from kirby itself?:
If I select a text and click the link-button I would expect the selected text to be included in the dialogue. Instead the link-text-field is empty and I have to retype the link text or it will be deleted.
Maybe an additional option for the link-button functionality would be a plain version of it that simply encapsulates the selected text with markdown-link-syntax.
selected linktext
—> with click on link-button, it becomes
[selected linktext]()
plus the URL-brackets could include text from the clipboard.
[selected linktext](https://url-from-clipboard.com)
If I select a text and click the link-button I would expect the selected text to be included in the dialogue. Instead the link-text-field is empty and I have to retype the link text or it will be deleted.
Looks like this commit is not included in 3.0.0 alpha2? https://github.com/fabianmichael/kirby-markdown-field/commit/cbbe297557da17af23c427d4f44a65982ebff554
Sorry for spamming this issue … but another thing is: the »open in new window«-option is without function when markdown-links are used and should thus be hidden.
When using the Link Button it should be configurable which items show up in the dropdown list:
Or is this dialogue coming from the kirby core and is configurable somewhere else?