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

Docs Update for Installation instructions for PHP Livewire #3618

Merged
merged 1 commit into from Feb 24, 2023

Conversation

peterfox
Copy link
Contributor

Changes are based on reading this thread #1515 (comment)

The documentation example for Livewire relies on AlpineJS, which currently causes the editor property to be wrapped in an observable/reactive layer. Moving the editor out of the returned object means it doesn't become a proxy object; otherwise, editor.commands.setContent(content, false) will already trigger an error Range Error: Applying a mismatched transaction and not work.

Changes are based on reading this thread ueberdosis#1515 (comment)

This example relies on AlpineJS still and doing causes the editor to be wrapped in an observable/reactive layer. Moving the editor out of the returned object means it doesn't become a proxy object; otherwise, `editor.commands.setContent(content, false)` will already trigger an error `Range Error: Applying a mismatched transaction` and not work.
@netlify
Copy link

netlify bot commented Jan 10, 2023

Deploy Preview for tiptap-embed ready!

Name Link
🔨 Latest commit 87a0693
🔍 Latest deploy log https://app.netlify.com/sites/tiptap-embed/deploys/63bddf39fcf1fb000941c987
😎 Deploy Preview https://deploy-preview-3618--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 bdbch merged commit 8262564 into ueberdosis:main Feb 24, 2023
aliasliao pushed a commit to aliasliao/tiptap that referenced this pull request May 24, 2023
Changes are based on reading this thread ueberdosis#1515 (comment)

This example relies on AlpineJS still and doing causes the editor to be wrapped in an observable/reactive layer. Moving the editor out of the returned object means it doesn't become a proxy object; otherwise, `editor.commands.setContent(content, false)` will already trigger an error `Range Error: Applying a mismatched transaction` and not work.
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