Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
export function isEditableTarget(target) {
if (!(target instanceof Element)) {
return false;
}
return !!target.closest("input, textarea, select, [contenteditable=''], [contenteditable='true'], [role='textbox']");
}
62869109eThis file is pinned to the selected release. Download the original to open it in your design tool.