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

Expose "range" to textSerializer. Used in "getTextBetween" #2684

Merged
merged 1 commit into from
May 17, 2022

Conversation

panta82
Copy link

@panta82 panta82 commented Apr 5, 2022

This PR gives TextSerializer access to the range that is being serialized.

Rationale: Without it, custom text nodes can't serialize partial content (based on selection).

@netlify
Copy link

netlify bot commented Apr 5, 2022

Deploy Preview for tiptap-embed ready!

Name Link
🔨 Latest commit 2115845
🔍 Latest deploy log https://app.netlify.com/sites/tiptap-embed/deploys/627a40a38c7bd40008244471
😎 Deploy Preview https://deploy-preview-2684--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.

@panta82 panta82 force-pushed the expose-range-to-textSerializer branch from 6758ea6 to 2115845 Compare May 10, 2022 10:38
@bdbch bdbch merged commit feef365 into ueberdosis:main May 17, 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.

2 participants