Whenever the rte field of content fragment is configured it appends.html to links.Since the resource type is dam/cfm/admin/components/authoring/contenteditor/multieditor , not sure where I should add the htmlrule node?
Also if there is any alternate please suggest
Solved! Go to Solution.
Views
Replies
Total Likes
The Content Fragment component is available to page authors. It allows them to reference, and deliver, the required content fragment in either HTML or JSON format.
I am not sure if there is any OOTB config to help you out.
I suggest either you move it to a different location other than /content/dam or else need to look for a custom implementation
please refer to below link. Hope this is useful
Hi Jagadeesh
But thats for text component I need for the content fragment rte field
The Content Fragment component is available to page authors. It allows them to reference, and deliver, the required content fragment in either HTML or JSON format.
I am not sure if there is any OOTB config to help you out.
I suggest either you move it to a different location other than /content/dam or else need to look for a custom implementation
How can we add that htmlrules property in custom js
"htmlRules": {
"genericHtml": {
"converters": [
{
"type": "video",
"name": "video",
"detectors": [
{
"type": "element",
"tagName": "video"
}
],
"thumbnailMaxWidth": 240,
"keepEmptyContainers": true
}, {
"type": "imagethumb",
"name": "imagethumb",
"detectors": [
{
"type": "element",
"tagName": "img"
}
],
"thumbnailMaxWidth": 240,
"keepEmptyContainers": true
}
Views
Replies
Total Likes
Views
Likes
Replies