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

add-empty-editor-class-to-root-div #2665

Merged
merged 2 commits into from
Sep 10, 2022

Conversation

BrianHung
Copy link
Contributor

Cover case where doc is empty but no descendants (custom doc that mimics an input). Add emptyEditorClass to the ProseMirror dom element instead.

Also not required to call this.editor.isEmpty repeatedly in descendants, or call it multiple times. Instead, cache empty top node and use ProseMirror diffStart to do a quick compare.

@netlify
Copy link

netlify bot commented Mar 30, 2022

Deploy Preview for tiptap-embed ready!

Name Link
🔨 Latest commit 1d71877
🔍 Latest deploy log https://app.netlify.com/sites/tiptap-embed/deploys/62441c98bb8c2f00085c74f3
😎 Deploy Preview https://deploy-preview-2665--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.

@bdbch
Copy link
Contributor

bdbch commented Jun 6, 2022

Could you resolve the linting issues @BrianHung ?

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.

3 participants