@wordpress/dom
Advanced tools
@@ -15,2 +15,6 @@ /** | ||
export default function isFormElement(element) { | ||
if (!element) { | ||
return false; | ||
} | ||
const { | ||
@@ -17,0 +21,0 @@ tagName |
@@ -25,2 +25,6 @@ "use strict"; | ||
function isFormElement(element) { | ||
if (!element) { | ||
return false; | ||
} | ||
const { | ||
@@ -27,0 +31,0 @@ tagName |
@@ -5,2 +5,4 @@ <!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. --> | ||
## 3.13.0 (2022-07-13) | ||
## 3.12.0 (2022-06-29) | ||
@@ -7,0 +9,0 @@ |
{ | ||
"name": "@wordpress/dom", | ||
"version": "3.12.0", | ||
"version": "3.13.0", | ||
"description": "DOM utilities module for WordPress.", | ||
@@ -38,3 +38,3 @@ "author": "The WordPress Contributors", | ||
}, | ||
"gitHead": "a80eeb62ec7cb1418b9915c277e084a29d6665e3" | ||
"gitHead": "9d9d33bbdf317a4381b8ca1713e43bb50df653b3" | ||
} |
@@ -15,2 +15,6 @@ /** | ||
export default function isFormElement( element ) { | ||
if ( ! element ) { | ||
return false; | ||
} | ||
const { tagName } = element; | ||
@@ -17,0 +21,0 @@ const checkForInputTextarea = isInputOrTextArea( element ); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
528990
0.06%6776
0.13%