Skip to content

Commit 440c537

Browse files
committed
fix(ui): consistent use of htmlTip in editor buttons #16933
1 parent 1161092 commit 440c537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/editor/editor-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function getBtn (eVm, btn, clickHandler, active = false) {
3939
: null
4040
child.push(
4141
h(QTooltip, { delay: 1000 }, () => [
42-
h('div', { innerHTML: btn.tip }),
42+
h('div', { innerHTML: btn.htmlTip != null ? btn.htmlTip : void 0, textContent: btn.tip != null ? btn.tip : void 0 }),
4343
Key
4444
])
4545
)

0 commit comments

Comments
 (0)