fix(editor): stop rendering expressions as html (#4420)

* fix(editor): don't render expr as html

* fix highlight bug
This commit is contained in:
Mutasem Aldmour
2022-10-24 10:48:33 +02:00
committed by GitHub
parent 91bd3c6567
commit 779b0d58f7
3 changed files with 12 additions and 4 deletions

View File

@@ -21,7 +21,8 @@
@drop="onDrop"
@textInput="onTextInput"
@valueChanged="onValueChanged" />
<input-hint v-if="expressionOutput || parameterHint" :class="$style.hint" :highlight="!!(expressionOutput && targetItem)" :hint="expressionOutput || parameterHint" />
<input-hint v-if="expressionOutput" :class="$style.hint" :highlight="!!(expressionOutput && targetItem)" :hint="expressionOutput" />
<input-hint v-else-if="parameterHint" :class="$style.hint" :renderHTML="true" :hint="parameterHint" />
</div>
</template>