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 hasAnchor to custom placeholder function #2470

Merged
merged 2 commits into from
Feb 3, 2022

Conversation

YousefED
Copy link
Contributor

@YousefED YousefED commented Feb 2, 2022

I propose passing hasAnchor to custom placeholder callbacks. In this way, custom placeholder functions can show placeholders for some nodes only when the cursor is in there, and for other nodes always show the placeholder

@netlify
Copy link

netlify bot commented Feb 2, 2022

❌ Deploy Preview for tiptap-embed failed.

🔨 Explore the source changes: 171bf3e

🔍 Inspect the deploy log: https://app.netlify.com/sites/tiptap-embed/deploys/61fbd36eea6e4a0008ce857e

@philippkuehn
Copy link
Contributor

Can you add hasAnchor to PlaceholderOptions please?

@YousefED
Copy link
Contributor Author

YousefED commented Feb 3, 2022

Can you add hasAnchor to PlaceholderOptions please?

done!

@philippkuehn philippkuehn merged commit 2fe6e21 into ueberdosis:main Feb 3, 2022
@philippkuehn
Copy link
Contributor

Thanks!

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.

None yet

2 participants