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

Tags field: tags not split when pasted #6341

Closed
RM1234567890 opened this issue Mar 10, 2024 · 1 comment · Fixed by #6353
Closed

Tags field: tags not split when pasted #6341

RM1234567890 opened this issue Mar 10, 2024 · 1 comment · Fixed by #6353
Assignees
Labels
type: enhancement ✨ Suggests an enhancement; improves Kirby

Comments

@RM1234567890
Copy link

RM1234567890 commented Mar 10, 2024

Description

In the panel, when pasting multiple tags that are separated with a comma into the input field, the tags that are not split after hitting the + button.

First they are shown as one long tag, like "Tag 1, Tag 2, Tag 3, Tag 4, Tag 5, Tag 6, Tag 7, Tag 8".
Only once the page is saved, then the page is refreshed are the multiple tags split to be shown as separate tags.

Expected behavior
After pasting multiple tags that are separated with a comma, hitting enter will split them into separate tags.
I believe this worked fine in earlier versions of Kirby (as I have an older site running 3.9.8 and it doesn't have this issue).

Screenshots
1: pasting in multiple tags separated by a comma:
Screenshot 2024-03-10 at 15 06 09

2: after hitting the + button, the tags are shown like this:
Screenshot 2024-03-10 at 15 06 16

3: only after saving the page, then refreshing the page are the tags split and shown correctly.
Screenshot 2024-03-10 at 15 06 23

To reproduce

  1. Go to a tags field.
  2. Paste in multiple tags separated by a comma, for example: "Tag 1, Tag 2, Tag 3, Tag 4, Tag 5, Tag 6, Tag 7, Tag 8"
  3. Hit the + button to add the tags to the field.
  4. See that the tags are not split and instead are shown as 1 long tag.

Your setup

Kirby Version
4.1.1

Console output
No errors

Your system (please complete the following information)

  • OS: Mac Sonoma 14.1.2
  • Browser: Chrome v. 122.0.6261.69
@distantnative distantnative changed the title In the panel, multiple tags are not split when pasting into the input bar. Tags field: tags not split when pasted Mar 23, 2024
@distantnative distantnative self-assigned this Mar 23, 2024
@distantnative distantnative added the type: enhancement ✨ Suggests an enhancement; improves Kirby label Mar 23, 2024
distantnative added a commit that referenced this issue Mar 23, 2024
@distantnative distantnative linked a pull request Mar 23, 2024 that will close this issue
5 tasks
distantnative added a commit that referenced this issue Mar 23, 2024
@RM1234567890
Copy link
Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement ✨ Suggests an enhancement; improves Kirby
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants