mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
fix(editor): Apply html sanitization in right lifecycle (#13703)
This commit is contained in:
@@ -74,7 +74,7 @@ const addTargetBlank = (html: string) =>
|
||||
:class="[$style.infoIcon, showTooltip ? $style.visible : $style.hidden]"
|
||||
>
|
||||
<N8nTooltip placement="top" :popper-class="$style.tooltipPopper" :show-after="300">
|
||||
<N8nIcon icon="question-circle" size="small" />
|
||||
<N8nIcon :class="$style.icon" icon="question-circle" size="small" />
|
||||
<template #content>
|
||||
<div v-n8n-html="addTargetBlank(tooltipText)" />
|
||||
</template>
|
||||
@@ -143,6 +143,10 @@ const addTargetBlank = (html: string) =>
|
||||
}
|
||||
}
|
||||
|
||||
.infoIcon:has(.icon[aria-describedby]) {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.trailing-content {
|
||||
display: flex;
|
||||
gap: var(--spacing-3xs);
|
||||
|
||||
Reference in New Issue
Block a user