fix(scripting): RightPanelWidget requiring async doRenderBody (closes #7778)

This commit is contained in:
Elian Doran
2025-11-19 22:10:42 +02:00
parent 5da4762f40
commit 0d0448d86b
6 changed files with 28 additions and 10 deletions

View File

@@ -1069,6 +1069,13 @@
"type": "text",
"mime": "text/html",
"attributes": [
{
"type": "relation",
"name": "internalLink",
"value": "LLzSMXACKhUs",
"isInheritable": false,
"position": 10
},
{
"type": "label",
"name": "shareAlias",

View File

@@ -1,5 +1,6 @@
# Right pane widget
* `doRender` must not be overridden, instead `doRenderBody()` has to be overridden.
* `doRenderBody` can optionally be `async`.
* `parentWidget()` must be set to `“rightPane”`.
* `widgetTitle()` getter can optionally be overriden, otherwise the widget will be displayed as “Untitled widget”.