comment on slot

This commit is contained in:
Niels Lyngsø
2024-08-14 13:22:09 +02:00
parent f57613d7dc
commit 873a96f629

View File

@@ -17,7 +17,7 @@ export class UmbRefListBlockElement extends UmbLitElement {
@state()
_content?: UmbBlockDataType;
@state()
@property()
_workspaceEditPath?: string;
constructor() {
@@ -44,6 +44,7 @@ export class UmbRefListBlockElement extends UmbLitElement {
}
override render() {
// TODO: apply `slot="name"` to the `umb-ufm-render` element, when UUI supports it. [NL]
return html`
<uui-ref-node standalone href=${this._workspaceEditPath ?? '#'}>
<umb-ufm-render inline .markdown=${this.label} .value=${this._content}></umb-ufm-render>