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

Smart Linking: Prevent insertion of duplicate links #2476

Open
acicovic opened this issue May 13, 2024 · 0 comments
Open

Smart Linking: Prevent insertion of duplicate links #2476

acicovic opened this issue May 13, 2024 · 0 comments
Milestone

Comments

@acicovic
Copy link
Collaborator

Is your feature request related to a problem?

Our API back-end is markup/link agnostic. As such, when we use the Smart Linking feature multiple times on a post or Block, it is possible that a given URL could be inserted multiple times. In my own testing, I was able to insert the same URL 3 times in a paragraph block.

Describe the solution you'd like

We probably don't want this to be happening, especially in the same block. And we probably shouldn't have the same link in a post more than 2 times. When we get the results from the API, we could check if the given URL is already present in the post or block, and not include it in the results if this is the case.

@acicovic acicovic modified the milestones: Future Milestone, 3.15.1 May 13, 2024
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

1 participant