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

Feature request: Option to disable the anchor field #82

Closed
arnaudjuracek opened this issue Sep 9, 2022 · 6 comments · Fixed by #90
Closed

Feature request: Option to disable the anchor field #82

arnaudjuracek opened this issue Sep 9, 2022 · 6 comments · Fixed by #90
Assignees
Labels
enhancement 🔝 New feature or request released

Comments

@arnaudjuracek
Copy link

First of all, thank you for your plugin. It is so simple that I may use it by default on all my new Kirby projects, until it ends up being eventually integrated to the Kirby core.

It would be really nice to have a config option to disable the anchor field, to allow building simpler websites for unskilled clients who do not need to know what an anchor is.

@gearsdigital
Copy link
Owner

You are very welcome @arnaudjuracek! Glad you find my plugin useful 🙏🏻

I like your idea and I'm going to implement this not only for the anchor, but also for every other field. It's a bit more challenging to keep the layout consistent. Not every field takes the full width, but I'm confident to find a proper solution :)

@gearsdigital gearsdigital self-assigned this Sep 10, 2022
@gearsdigital gearsdigital added the enhancement 🔝 New feature or request label Sep 10, 2022
@gearsdigital
Copy link
Owner

gearsdigital commented Apr 14, 2023

@arnaudjuracek Before I'm going to start to work on this issue I need to clarify what do you mean by disable.

  1. The field is visible to the user, but disabled, so that he can't add any input
    Bildschirmfoto am 2023-04-14 um 09 26 44

  2. The field is invisible to the user and removed completely
    Bildschirmfoto am 2023-04-14 um 09 27 13

@arnaudjuracek
Copy link
Author

IMHO the UX is better for the user when the field is completely hidden, but you may have other scenarios in mind where disabling the field makes more sense ?

Thanks for your time.

@gearsdigital
Copy link
Owner

gearsdigital commented Apr 15, 2023

Okay, let's do both ^^ The user can decide whether he wants to disable or hide a field. Thanks for your input!

gearsdigital added a commit that referenced this issue Apr 16, 2023
You can now control whether the anchor or target field should be disabled or hidden, allowing for a cleaner and less obtrusive link dialog.

Closes #82
gearsdigital added a commit that referenced this issue Apr 16, 2023
You can now control whether the anchor or target field should be disabled or hidden, allowing for a cleaner and less obtrusive link dialog.

Closes #82
gearsdigital added a commit that referenced this issue Apr 16, 2023
You can now control whether the anchor or target field should be disabled or hidden, allowing for a cleaner and less obtrusive link dialog.

Closes #82
github-actions bot pushed a commit that referenced this issue Apr 16, 2023
# [3.2.0](v3.1.3...v3.2.0) (2023-04-16)

### Features

* add options to control anchor and target field visibility ([051855d](051855d)), closes [#82](#82)
@gearsdigital
Copy link
Owner

🎉 This issue has been resolved in version 3.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@gearsdigital
Copy link
Owner

@arnaudjuracek Let me know if this feature works for you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment