WebDevStudios / wds-headless-wordpress

This codebase has been moved to a monorepo. Please see the documentation to learn more. 🍻
https://github.com/WebDevStudios/nextjs-wordpress-starter
GNU General Public License v2.0
32 stars 15 forks source link

Add background gradient support #38

Closed ravewebdev closed 3 years ago

ravewebdev commented 3 years ago

References https://github.com/WebDevStudios/nextjs-wordpress-starter/issues/410

Link

https://nextjsdevstart.wpengine.com/wp-admin/post.php?post=454&action=edit

Description

Adds handling to pass actual CSS for gradient background presets to the FE.

Screenshots

Screen Shot 2021-06-08 at 2 50 12 PM

Steps To Verify Feature

  1. Edit a post (e.g., https://nextjsdevstart.wpengine.com/wp-admin/post.php?post=454&action=edit)
  2. Apply a preset gradient
  3. Switch to code view to confirm gradientHex attr is added