design-comuni-plone-theme 8.0.0 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/config/Blocks/blocks.js +4 -0
- package/src/theme/_cms-ui.scss +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [8.0.1](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v8.0.0...v8.0.1) (2023-07-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* grid block config, blocks editor z-index ([02724a2](https://github.com/RedTurtle/design-comuni-plone-theme/commit/02724a21b512a4effaedebecfbfe3398fdfc20d8))
|
|
9
|
+
|
|
3
10
|
## [8.0.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v8.0.0-alpha.43...v8.0.0) (2023-07-12)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -364,6 +364,10 @@ const italiaBlocks = {
|
|
|
364
364
|
|
|
365
365
|
const getItaliaBlocks = (config) => {
|
|
366
366
|
delete config.blocks.blocksConfig.teaser;
|
|
367
|
+
config.blocks.blocksConfig.gridBlock.allowedBlocks =
|
|
368
|
+
config.blocks.blocksConfig.gridBlock.allowedBlocks
|
|
369
|
+
.filter((item) => !['slate', 'teaser'].includes(item))
|
|
370
|
+
.concat(['text']);
|
|
367
371
|
return italiaBlocks;
|
|
368
372
|
};
|
|
369
373
|
export default getItaliaBlocks;
|
package/src/theme/_cms-ui.scss
CHANGED
|
@@ -406,6 +406,11 @@ body.cms-ui {
|
|
|
406
406
|
.public-DraftStyleDefault-block {
|
|
407
407
|
margin-bottom: unset;
|
|
408
408
|
}
|
|
409
|
+
// z-index necessario su Volto 17 finché non passiamo ad usare slate
|
|
410
|
+
.DraftEditor-editorContainer,
|
|
411
|
+
.public-DraftEditorPlaceholder-root {
|
|
412
|
+
z-index: 0;
|
|
413
|
+
}
|
|
409
414
|
}
|
|
410
415
|
}
|
|
411
416
|
|