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
4
web/vendor/htmlburger/carbon-fields/packages/blocks/fields/block-preview/index.js
vendored
Normal file
4
web/vendor/htmlburger/carbon-fields/packages/blocks/fields/block-preview/index.js
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
/**
|
||||
* Internal dependencies.
|
||||
*/
|
||||
import './style.scss';
|
||||
15
web/vendor/htmlburger/carbon-fields/packages/blocks/fields/block-preview/style.scss
vendored
Normal file
15
web/vendor/htmlburger/carbon-fields/packages/blocks/fields/block-preview/style.scss
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/* ------------------------------------------------------------ *\
|
||||
Block Preview iFrame
|
||||
\* ------------------------------------------------------------ */
|
||||
|
||||
body.block-editor-iframe__body {
|
||||
.cf-block-preview {
|
||||
display: block;
|
||||
}
|
||||
|
||||
// Hide all other fields except the HTML fields with preview
|
||||
// Also check if there is preview field at all or just show all fields
|
||||
.cf-block__fields:has(.cf-block-preview) .cf-field:not(.cf-block-preview) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue