mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
fix(editor): Allow mapping onto expression editor with selection range (#4945)
🔥 Remove unneeded guard
This commit is contained in:
@@ -39,10 +39,6 @@ export default mixins(expressionManager, workflowHelpers).extend({
|
||||
},
|
||||
watch: {
|
||||
value(newValue) {
|
||||
const range = this.editor?.state.selection.ranges[0];
|
||||
|
||||
if (range !== undefined && range.from !== range.to) return;
|
||||
|
||||
try {
|
||||
this.editor?.dispatch({
|
||||
changes: {
|
||||
|
||||
Reference in New Issue
Block a user