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

Introducing Attributes and Editable Fields - Does not seem to save content or display on frontend #6534

Closed
2 tasks
XpandMarketingLLC opened this issue May 2, 2018 · 3 comments
Labels
Needs Testing Needs further testing to be confirmed. [Type] Developer Documentation Documentation for developers

Comments

@XpandMarketingLLC
Copy link

XpandMarketingLLC commented May 2, 2018

Issue Overview

While following the basic tutorial on creating custom blocks for Gutenberg I got stuck on step-03. The block shows up on the backend but when I save it, it doesn't show up on the front end and when I refresh the backend page the text I typed into the editor disappears.

Steps to Reproduce (for bugs)

Create a custom block based on code in step-03. Write some text into the text editor. Click update. View front end. Nothing shows up. Reload editor page. The custom text disappears there too.

  1. Download and install theme on localhost https://github.com/XpandMarketingLLC/xpand-starter
  2. Create code in functions.php to load the scripts etc
  3. Copy and paste code into block.js
  4. Repeat as above

Using Google Chrome

Expected Behavior

Current Behavior

Possible Solution

Screenshots / Video

screen shot 2018-05-02 at 11 35 29
screen shot 2018-05-02 at 11 35 14
screen shot 2018-05-02 at 11 34 57
screen shot 2018-05-02 at 11 34 47

Related Issues and/or PRs

Todos

  • Tests
  • Documentation
@mtias mtias added [Type] Developer Documentation Documentation for developers Needs Testing Needs further testing to be confirmed. labels Jul 19, 2018
@chrisvanpatten
Copy link
Contributor

Potentially going to close and merge into #6185 which also covers revamping our "how to make a block" tutorial!

@pbiron
Copy link

pbiron commented Nov 8, 2018

@XpandMarketingLLC I followed your Steps to Reproduce today and I'm not seeing the problems you describe. I used WP 4.9.8, GB 4.2 and the version of your theme that was current as of a couple of hours ago. I also used Twenty Seventeen without problems.

Can you please try again and see if you are still experiencing the same problems?

@youknowriad youknowriad added this to the Documentation & Handbook milestone Jan 9, 2019
@mkaz
Copy link
Member

mkaz commented Jan 23, 2019

I also followed the instructions for the Block Tutorial and did not run into any issues.

I'm going to close this issue as it can't be reproduced, please reopen if there still is a problem and I would be glad to help and address.

@mkaz mkaz closed this as completed Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Testing Needs further testing to be confirmed. [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

No branches or pull requests

6 participants