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

Update alpine.md with better info about proxy limitations #4678

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

justisr
Copy link
Contributor

@justisr justisr commented Dec 9, 2023

The issue described in #1515 is now mentioned in the Alpine documentation so that readers understand why the example does not store the editor as component data and why they should not do so either.

Please describe your changes

I struggled for days trying to get Alpine to work with TipTap before finding #1515
The current documentation makes no mention of the limitations with storing the editor as an Alpine component property. The proposed changes attempt to concisely convey all of the necessary information for readers to understand why the Alpine example is the way that it is and warns them of the incompatibility which would very likely be unexpected.

How did you accomplish your changes

The proposed changes adds a comment to the code example at the point where the editor reference is created, explaining why it is not simply made a component property, and even mentions the exact error that the reader can expect to see if they've done so. This will surely help people like myself who were encountering this error during integration.

Related issues

#1515

The issue described in ueberdosis#1515 is now mentioned in the Alpine documentation so that readers understand why the example does not store the editor as component data and why they should not do so either.
Copy link

netlify bot commented Dec 9, 2023

Deploy Preview for tiptap-embed ready!

Name Link
🔨 Latest commit 4eda0a5
🔍 Latest deploy log https://app.netlify.com/sites/tiptap-embed/deploys/65749b0e94e24100088669a8
😎 Deploy Preview https://deploy-preview-4678--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 configuration.

@bdbch bdbch changed the base branch from develop to main December 14, 2023 14:27
@bdbch bdbch self-requested a review as a code owner December 14, 2023 14:27
@bdbch bdbch changed the base branch from main to develop December 14, 2023 14:27
@bdbch bdbch merged commit 1331dd8 into ueberdosis:develop Dec 14, 2023
4 checks passed
bdbch pushed a commit that referenced this pull request Dec 14, 2023
The issue described in #1515 is now mentioned in the Alpine documentation so that readers understand why the example does not store the editor as component data and why they should not do so either.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants