You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ To use JSON RTE Serializer with Node.js-based applications, you will need the fo
10
10
11
11
- Node.js 10 or later
12
12
13
-
Install the json-rte-serializer package via npm using the following command:
13
+
Install the `json-rte-serializer` package via npm using the following command:
14
14
15
15
```bash
16
16
npm install @contentstack/json-rte-serializer
@@ -257,7 +257,7 @@ console.log(jsonValue);
257
257
258
258
> **_Note_**: The custom parser's key must always be capitalized and exactly match the custom HTML tag.
259
259
260
-
### Result of conversion
260
+
### Result of Conversion
261
261
262
262
The resulting JSON-formatted data will look as follows:
263
263
@@ -318,8 +318,7 @@ The resulting JSON-formatted data will look as follows:
318
318
319
319
By default, the JSON Rich Text Editor field supports limited HTML tags within the editor. Due to this, the JSON RTE Serializer tool is not able to recognize each and every standard HTML tag.
320
320
321
-
To help the editor recognize and process additional tags that are commonly used across HTML, you can use the automatic conversion option with the JSON RTE Serializer tool. When using this option, you need to pass the `allowNonStandardTags: true` parameter within the `jsonToHtml` or `htmlToJson` method to manipulate the working of the JSON RTE Serializer package as per your requirements. When you pass this parameter, it customizes your JSON RTE Serializer code to allow the support for all standard HTML-recognized tags or element types in the JSON Rich Text Editor field.
322
-
321
+
To help the JSON RTE Serializer recognize and process additional tags that are commonly used across HTML, you can use the automatic conversion option. When using this option, you need to pass the `allowNonStandardTags: true` parameter within the `jsonToHtml` or `htmlToJson` method to manipulate the working of the JSON RTE Serializer package as per your requirements. When you pass this parameter, it customizes your JSON RTE Serializer code to allow the support for all standard HTML-recognized tags or element types in the JSON Rich Text Editor field.
0 commit comments