corvée(dépendances) ajoute Carbon Fields
This commit is contained in:
parent
135cc65eed
commit
62368587e5
459 changed files with 72750 additions and 26 deletions
13
web/vendor/htmlburger/carbon-fields/packages/metaboxes/utils/is-gutenberg.js
vendored
Normal file
13
web/vendor/htmlburger/carbon-fields/packages/metaboxes/utils/is-gutenberg.js
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* External dependencies.
|
||||
*/
|
||||
import { isUndefined } from 'lodash';
|
||||
|
||||
/**
|
||||
* Returns true if Gutenberg is presented.
|
||||
*
|
||||
* @return {boolean}
|
||||
*/
|
||||
export default function isGutenberg() {
|
||||
return ! isUndefined( window._wpLoadBlockEditor );
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue