feature: add generateJSON utility function to generate JSON from a HTML string

This commit is contained in:
Hans Pagel
2021-05-05 21:24:24 +02:00
parent 6f0fa6569d
commit 7feb19eb72
7 changed files with 86 additions and 1 deletions

View File

@@ -9,3 +9,7 @@ The utility helps rendering JSON content as HTML without an editor instance, for
## Usage
<demo name="Guide/Content/GenerateHTML" highlight="6-7,42-48"/>
By the way, the other way is possible, too. The below examples shows how to generate JSON from HTML.
<demo name="Guide/Content/GenerateJSON" highlight="6,17-23"/>