From 779b0d58f741b9e8eea978f1651701e586d722c4 Mon Sep 17 00:00:00 2001
From: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
Date: Mon, 24 Oct 2022 10:48:33 +0200
Subject: [PATCH] fix(editor): stop rendering expressions as html (#4420)
* fix(editor): don't render expr as html
* fix highlight bug
---
.../editor-ui/src/components/ParameterInputFull.vue | 2 --
.../editor-ui/src/components/ParameterInputHint.vue | 11 ++++++++++-
.../src/components/ParameterInputWrapper.vue | 3 ++-
3 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/packages/editor-ui/src/components/ParameterInputFull.vue b/packages/editor-ui/src/components/ParameterInputFull.vue
index d21566c0f8..b5179e3e70 100644
--- a/packages/editor-ui/src/components/ParameterInputFull.vue
+++ b/packages/editor-ui/src/components/ParameterInputFull.vue
@@ -68,7 +68,6 @@ import {
IUpdateInformation,
} from '@/Interface';
-import InputHint from './ParameterInputHint.vue';
import ParameterOptions from './ParameterOptions.vue';
import DraggableTarget from '@/components/DraggableTarget.vue';
import mixins from 'vue-typed-mixins';
@@ -87,7 +86,6 @@ export default mixins(
.extend({
name: 'parameter-input-full',
components: {
- InputHint,
ParameterOptions,
DraggableTarget,
ParameterInputWrapper,
diff --git a/packages/editor-ui/src/components/ParameterInputHint.vue b/packages/editor-ui/src/components/ParameterInputHint.vue
index 9d0075cd9e..8a9db34bfb 100644
--- a/packages/editor-ui/src/components/ParameterInputHint.vue
+++ b/packages/editor-ui/src/components/ParameterInputHint.vue
@@ -1,10 +1,12 @@
-
+ {{ hint }}
+