We have a custom Rich Text widget that we are using in place of the stock XbyK*** Rich Text widget. We've been able to use most of the features from the stock widget, but having troubles with the page picker. Has anyone else been able to get this working on a custom RTE widget?
I'm including our working JSON file with the features we've included so far. As soon as I add anything to do with the page picker, our custom RTE widget breaks:
{
"imageDefaultWidth": 0,
"imageResize": true,
"imageUpload": false,
"imagePaste": false,
"imageDefaultMargin": null,
"imageMove": true,
"imageAddNewLine": false,
"toolbarButtons": [
"paragraphFormat",
"|",
"bold",
"italic",
"underline",
"|",
"align",
"formatOL",
"formatUL",
"|",
"insertAsset",
"insertLinkDropDown",
"insertVideo",
"|",
"insertTable",
"tableRows",
"tableColumns",
"tableHeader",
"tableCellStyle",
"|",
"html"
],
"imageEditButtons": [
"imageReplace",
"imageAlt",
"imageAlign",
"imageDisplay",
"imageSize",
"imageRemove"
],
"linkStyles": {
"btn btn-primary": "Button"
},
"linkEditButtons": [
"linkOpen",
"linkStyle",
"linkEdit",
"linkRemove"
],
"customPlugins": [
{
"pluginName": "@kentico/xperience-admin-base/Asset"
},
{
"pluginName": "@kentico/xperience-admin-base/Link",
"pluginOptions": {
"dropdownOptions": [
{
"linkOption": "asset",
"componentName": "@kentico/xperience-admin-base/AssetPanel"
},
{
"linkOption": "external"
}
]
}
}
]
}
Environment
Xperience by Kentico version: [30.11.0]
.NET version: [8]