mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
Fix issue that expressions did not resolve correctly in
expression-editor
This commit is contained in:
@@ -253,7 +253,7 @@ export default mixins(
|
|||||||
|
|
||||||
// Convert the expression string into a Quill Operations
|
// Convert the expression string into a Quill Operations
|
||||||
const editorOperations: DeltaOperation[] = [];
|
const editorOperations: DeltaOperation[] = [];
|
||||||
currentValue.replace(/\{\{(.*?)\}\}/ig, '*^^%#_@$1*^^%#_@').split('*^^%#_@').forEach((value: string) => {
|
currentValue.replace(/\{\{(.*?)\}\}/ig, '*%%#_@^$1*%%#_@').split('*%%#_@').forEach((value: string) => {
|
||||||
if (!value) {
|
if (!value) {
|
||||||
|
|
||||||
} else if (value.charAt(0) === '^') {
|
} else if (value.charAt(0) === '^') {
|
||||||
|
|||||||
Reference in New Issue
Block a user