Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

storing JSON string in data attributes

  • Hi you all,

    wondering if it’s possible to save JSON string in a custom data attribute like ‘{“height”:300,”width”:200}’. I tried but the quotes get escaped. any other workarounds?


  • Hi there,

    The JSON string should work. The quotes are not getting escaped in my test:

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.