We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f433ac commit a6b1fe5Copy full SHA for a6b1fe5
1 file changed
README.md
@@ -86,3 +86,12 @@ require 'contentstack'
86
Contentstack.render_content(@entry.rte_field_uid, ContentstackUtils::Model::Option.new(@entry))
87
end
88
```
89
+### GQL Json RTE to HTML
90
+To parse JSON RTE content from GQL response to HTML content use `ContentstackUtils::GQL.json_to_html` function as below:
91
+
92
+```ruby
93
+require 'contentstack_utils'
94
95
+ result = ContentstackUtils::GQL.json_to_html(entry['single_rte'], ContentstackUtils::Model::Options.new())
96
97
+```
0 commit comments