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

Create a magnetic-poetry block #1

Open
bobbingwide opened this Issue Feb 11, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@bobbingwide
Copy link
Owner

bobbingwide commented Feb 11, 2019

Similar to Verse but formatted to look like magnetic poetry fridge magnets.

Block name: oik-block/magnetic-poetry
Title: Magnetic Poetry
category: formatting -
icon: editor

Steps to develop

  1. Prototype some code in bw
  2. Create a hard-coded version, satisfied by the server.
  3. Add client code based on oik-block/CSV
  4. Update PHP to perform server side rendering
  5. Find out why it doesn't work when Gutenberg is active!
  6. Implement the proper server side rendering code.

Early screenshot

image

This screenshot was taker after step 4. WordPress 5.0.3, Gutenberg not activated.
I'd already resolved a number of minor issues.

  1. Incorrect category: wigets
  2. Invalid icon name ( verse ) led to blank icon
  3. Incorrect block name for ServerSideRender - extra oik- before magnetic-poetry

Issues visible in the screenshot:

  1. white background needed by default - not being applied for 0 degree rotation
  2. Rendered contents bigger than the block.

@bobbingwide bobbingwide self-assigned this Feb 11, 2019

bobbingwide added a commit that referenced this issue Feb 11, 2019

@bobbingwide

This comment has been minimized.

Copy link
Owner Author

bobbingwide commented Feb 11, 2019

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.