Skip to content

Commit dcce03a

Browse files
committed
Tiptap extension config, changed <span> to be a button
then the labels are clickable.
1 parent e083121 commit dcce03a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/packages/rte/tiptap/property-editors/property-editor-ui-tiptap-extensions-configuration.element.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,12 @@ export class UmbPropertyEditorUiTiptapExtensionsConfigurationElement
136136
@click=${() => this.#onExtensionClick(item)}>
137137
<umb-icon name=${item.icon ?? ''}></umb-icon>
138138
</uui-button>
139-
<span>${this.localize.string(item.label)}</span>
139+
<uui-button
140+
compact
141+
label=${this.localize.string(item.label)}
142+
look="default"
143+
style="--uui-button-content-align:left;"
144+
@click=${() => this.#onExtensionClick(item)}></uui-button>
140145
</div>
141146
`,
142147
)}

0 commit comments

Comments
 (0)