Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ticruz38
Copy link
Collaborator

#473

Have removed this bug that was a range error from tiptap.

Have tried many different commands to keep the range correct but nothing worked.
The solution I have is not the most elegant but it works everytime. Taking the real input being tracked by tiptap from (editor.state.doc.textContent) and check if there is a match against it, this avoid linkifying twice (which was the root issue)

Also the behaviour is slightly better now, on the previous version pressing enter and then space after creating a link would cancel the line break.

@staab staab changed the base branch from master to dev November 20, 2024 12:38
@staab staab merged commit fb8ffd3 into coracle-social:dev Nov 20, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants