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

Error message on Block #3 (editable block) when editing page. #12

Closed
amandablum opened this issue Dec 8, 2017 · 11 comments
Closed

Error message on Block #3 (editable block) when editing page. #12

amandablum opened this issue Dec 8, 2017 · 11 comments

Comments

@amandablum
Copy link

amandablum commented Dec 8, 2017

I'm only using block # 3.

Have no problems creating the block or editing it, and it renders on front end just fine. But when I revisit Gutenberg editor, the block shows "This block has encountered an error and cannot be previewed.". It cannot be edited.

2017-12-08_1021

to reproduce:
add block 3 to page via gutenberg. add text.
Publish page.
Return to editor.
editable blocks should be editable, instead say "This block has encountered an error and cannot be previewed."

@ahmadawais
Copy link
Owner

I'd ask you to try it again with no other plugins active. Coz. I just tested it and it is working fine.

@amandablum
Copy link
Author

amandablum commented Dec 9, 2017 via email

@ahmadawais
Copy link
Owner

@amandablum I guess you are talking about block 4 the tweet block.
I can see that it does have an issue.

I am tracking it here → WordPress/gutenberg#3522 (comment)

On vacations at the moment, will get back to you as soon as I am back.

@ahmadawais ahmadawais reopened this Dec 10, 2017
@amandablum
Copy link
Author

amandablum commented Dec 10, 2017 via email

@ahmadawais
Copy link
Owner

ahmadawais commented Dec 10, 2017

I can confirm there's no issue there on Block # 3.
Tried and tested. You might want to update the Boilerplate as I just pushed out some fixes and the Gutenberg plugin should be at 1.8.1

@ahmadawais
Copy link
Owner

ahmadawais commented Dec 10, 2017

I am tracking the issue with block # 4 here #13

@amandablum
Copy link
Author

amandablum commented Dec 10, 2017 via email

@ahmadawais
Copy link
Owner

Sure let me know. Write the content not copy-paste it. I know there is an issue with copy-paste, I suspect it is a problem at Gutenberg's end but I'll investigate

@ahmadawais
Copy link
Owner

👋

I'd ask you to use create-guten-block instead of this boilerplate now — I am going to deprecate this project soon and move all the new examples to that project.

@ryancwalsh
Copy link

Just FYI I've had this same problem with https://github.com/ahmadawais/Gutenberg-Boilerplate/tree/master/block/03-block-editable and even with the official https://github.com/WordPress/gutenberg-examples/tree/master/03-editable. I can't get either of them to work. Maybe create-guten-block will be easier.

@ahmadawais
Copy link
Owner

I promise create-guten-block is easier! 👍

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

No branches or pull requests

3 participants