Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable Options for Link Button #187

Open
animaux opened this issue Feb 13, 2024 · 5 comments
Open

Configurable Options for Link Button #187

animaux opened this issue Feb 13, 2024 · 5 comments
Assignees

Comments

@animaux
Copy link

animaux commented Feb 13, 2024

When using the Link Button it should be configurable which items show up in the dropdown list:

Bildschirmfoto 2024-02-13 um 14 59 24

Or is this dialogue coming from the kirby core and is configurable somewhere else?

@fabianmichael fabianmichael self-assigned this Feb 15, 2024
@fabianmichael
Copy link
Owner

Great idea, will have a look.

@animaux
Copy link
Author

animaux commented Feb 29, 2024

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.

@animaux
Copy link
Author

animaux commented Feb 29, 2024

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)

@animaux
Copy link
Author

animaux commented Mar 13, 2024

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? cbbe297

@animaux
Copy link
Author

animaux commented Mar 13, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants