wp-graphql / wpgraphql-acf

Re-architecture of WPGraphQL for ACF
GNU General Public License v3.0
82 stars 12 forks source link

WPGraphQL Error When saving HTML in Textarea or WYSIWYG ACF Fields #202

Open archoda opened 4 months ago

archoda commented 4 months ago

Description

When trying to save HTML in a field, i'm getting a JSON error. I've got year old sites where i've used similar ACF and was not getting this issue then - that I know of, although I am adding a bit more HTML in this instance. But, don't believe that should be an issue.

Screenshot 2024-04-28 at 6 19 39 PM

Steps to reproduce

  1. Create an ACF. FieldGroup called 'PageControl'
  2. Add a simple Textarea ( or WYSIWYG ) field called HTML
  3. Set the Field group to show in both Page & Post type(s)
  4. Go to the 'Home' page, add any