refactor(editor): Reka UI inline text edit component (#15752)

This commit is contained in:
Robert Squires
2025-06-04 08:56:25 +01:00
committed by GitHub
parent 1335af05d5
commit 92cf3cedbb
27 changed files with 638 additions and 601 deletions

View File

@@ -857,6 +857,13 @@ function onRenameNode(parameterData: IUpdateInformation) {
async function onOpenRenameNodeModal(id: string) {
const currentName = workflowsStore.getNodeById(id)?.name ?? '';
const activeElement = document.activeElement;
if (activeElement && activeElement.tagName === 'INPUT') {
// If an input is focused, do not open the rename modal
return;
}
if (!keyBindingsEnabled.value || document.querySelector('.rename-prompt')) return;
try {