benada002 / wp-graphql-widgets

This plugin adds widgets and sidebar queries to WPGraphQL.
13 stars 4 forks source link

Text Widget returns empty html #1

Closed idesignzone closed 3 years ago

idesignzone commented 3 years ago

Hello. Hope you are doing well. Thank you for the plugin. "html" data is very helpful as I won't need to fetch every widget individually and I can just loop the widgets within each sidebar. However text widget returns empty "html" data.

"html": "<div class=\"widget widget_text\">\t\t\t<div class=\"textwidget\"></div>\n\t\t</div>",

benada002 commented 3 years ago

Hi, thanks for the issue. I pushed a fix. Let me know if it works.

idesignzone commented 3 years ago

Hi, thanks for the issue. I pushed a fix. Let me know if it works.

Issue is resolved. Thank you.