Skip to content

Commit c3db3da

Browse files
authored
Merge branch 'main' into 66553-filewidget-dropzone-a11y
2 parents ff59c5b + a1a0a4a commit c3db3da

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed

RELEASE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,20 @@
4141
- ...
4242
-->
4343

44+
## Versione X.X.X (dd/mm/yyyy)
45+
46+
### Migliorie
47+
48+
- ...
49+
50+
### Novità
51+
52+
- Ora è possibile aggiungere titoli in qualsiasi sezione dell’editor di testo
53+
54+
### Fix
55+
56+
- ...
57+
4458
## Versione 12.9.0 (08/01/2026)
4559

4660
### Migliorie

src/config/Slate/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const insertToolbarButtons = (buttons = [], insertAfter = '', slate) => {
3737
};
3838

3939
export const getRichTextWidgetToolbarButtons = (config) => {
40-
const EXCLUDE_TOOLBAR_BUTTONS = ['textLarger', 'headings'];
40+
const EXCLUDE_TOOLBAR_BUTTONS = ['textLarger'];
4141

4242
let toolbarButtons = (config.settings.slate?.toolbarButtons ?? [])
4343
.filter((b) => EXCLUDE_TOOLBAR_BUTTONS.indexOf(b) < 0)

src/theme/ItaliaTheme/Components/_subsiteHeader.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@
1717
h2,
1818
h3,
1919
h4,
20+
h5,
21+
h6,
2022
a {
2123
color: $primary-text;
2224
font-family: $font-family-sans-serif;
2325
font-style: normal;
26+
font-weight: 700;
2427
}
2528

2629
.container {
@@ -33,11 +36,31 @@
3336
margin: 0;
3437
}
3538

39+
h2 {
40+
margin-bottom: 0.5em;
41+
font-size: 1.9em;
42+
}
43+
3644
h3 {
3745
margin-bottom: 0.5em;
3846
font-size: 1.7em;
3947
}
4048

49+
h4 {
50+
margin-bottom: 0.5em;
51+
font-size: 1.5em;
52+
}
53+
54+
h5 {
55+
margin-bottom: 0.5em;
56+
font-size: 1.3em;
57+
}
58+
59+
h6 {
60+
margin-bottom: 0.5em;
61+
font-size: 1.1em;
62+
}
63+
4164
a {
4265
@extend .btn;
4366
@extend .btn-primary;

0 commit comments

Comments
 (0)