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

Persist link text value when changing types #108

Open
kylecotter opened this issue Jan 25, 2024 · 2 comments
Open

Persist link text value when changing types #108

kylecotter opened this issue Jan 25, 2024 · 2 comments

Comments

@kylecotter
Copy link
Contributor

What are you trying to do?

When the link text field has a value and you change the link type (e.g. URL to Entry) you lose the value of link text.

Often when stubbing out content for new sites we'll just use a URL link type for getting CTAs and other links in place before entries are ready to be properly linked to. So it's a little tedious to remember to copy the link text before swapping types later on.

What's your proposed solution?

When switching between link types link text should persist.

Additional context

No response

@engram-design
Copy link
Member

The thinking here was that if you're changing the link you're pointing to (by changing the type), you'll possibly want to change the text used for it as well. That, and we didn't want to have "stale" content sticking around when you change the link type, particularly as extra settings on the field can be hidden away in an element slide-out and missed.

Although I understand the workflow you're doing and that makes sense (and is pretty common). I'll have a think if this is something we should allow just for link text though.

@joelzerner
Copy link

Chiming in here to second this feature request. It's easier to delete/change the link text after changing the link type rather than having to remember and retype it. Think allowing the link text to persist regardless of link type as the default behaviour would be more user friendly.

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

No branches or pull requests

3 participants