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

fix(core): insert PasteRule Node at matched position (#2942) #2943

Merged
merged 1 commit into from
Sep 10, 2022

Conversation

edlb
Copy link
Contributor

@edlb edlb commented Jul 1, 2022

This PR is meant to fix #2942

Using nodePasteRule the Node would be added at the end of the editor.
This PR replaces insertContent with insertContentAt to insert the Node at the matched position instead.

@netlify
Copy link

netlify bot commented Jul 1, 2022

Deploy Preview for tiptap-embed ready!

Name Link
🔨 Latest commit f0f03ea
🔍 Latest deploy log https://app.netlify.com/sites/tiptap-embed/deploys/63038cb5d4a5cf00081fcfd4
😎 Deploy Preview https://deploy-preview-2943--tiptap-embed.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@bdbch bdbch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@github-actions github-actions bot added the Info: Stale The issue or pullrequest has not been updated in a while and might be stale label Aug 21, 2022
@bdbch
Copy link
Contributor

bdbch commented Aug 22, 2022

@edlb could you get the latest main branch merged and check if the tests are still failing?

@edlb edlb force-pushed the fix/node-paste-rule-position branch from ae11dc3 to f0f03ea Compare August 22, 2022 14:03
@github-actions github-actions bot removed the Info: Stale The issue or pullrequest has not been updated in a while and might be stale label Aug 23, 2022
@bdbch bdbch merged commit bda6e8d into ueberdosis:main Sep 10, 2022
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.

nodePasteRule adds the Node at the end of the editor
2 participants