feat(editor): Adjust HTML editor component for use in params (#5285)

*  Adjust HTML editor component

* ♻️ Apply feedback

* ♻️ Apply feedback

* 🔥 Remove unused ndv store refs
This commit is contained in:
Iván Ovejero
2023-02-02 14:00:16 +01:00
committed by GitHub
parent 3b5e1d127f
commit 8b09e98654
6 changed files with 68 additions and 16 deletions

View File

@@ -81,9 +81,11 @@
/>
<html-editor
v-else-if="getArgument('editor') === 'htmlEditor' && isHtmlNode(node)"
v-else-if="getArgument('editor') === 'htmlEditor'"
:html="node.parameters.html"
:isReadOnly="isReadOnly"
:rows="getArgument('rows')"
:disableExpressionColoring="!isHtmlNode(node)"
@valueChanged="valueChangedDebounced"
/>
@@ -353,8 +355,8 @@ import { workflowHelpers } from '@/mixins/workflowHelpers';
import { hasExpressionMapping, isValueExpression, isResourceLocatorValue } from '@/utils';
import mixins from 'vue-typed-mixins';
import { CUSTOM_API_CALL_KEY } from '@/constants';
import { CODE_NODE_TYPE, HTML_NODE_TYPE } from '@/constants';
import { CUSTOM_API_CALL_KEY, HTML_NODE_TYPE } from '@/constants';
import { CODE_NODE_TYPE } from '@/constants';
import { PropType } from 'vue';
import { debounceHelper } from '@/mixins/debounce';
import { mapStores } from 'pinia';