This repository was archived by the owner on Nov 21, 2023. It is now read-only.
File tree 4 files changed +17
-3
lines changed
4 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { title } from '../fields/title.js'
2
2
import { text_markdown } from '../fields/text-markdown.js'
3
3
import { grid } from '../fields/grid.js'
4
+ import { offset } from '../fields/offset.js'
4
5
import { align } from '../fields/align.js'
5
6
import { background } from '../fields/background.js'
6
7
@@ -16,6 +17,7 @@ export const block_paragraph = {
16
17
title ,
17
18
text_markdown ,
18
19
grid ,
20
+ offset ,
19
21
align ,
20
22
background
21
23
]
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { image_alt } from '../fields/image-alt.js'
3
3
import { title } from '../fields/title.js'
4
4
import { text } from '../fields/text.js'
5
5
import { cta } from '../fields/cta.js'
6
- import { align } from '../fields/align .js'
6
+ import { offset } from '../fields/offset .js'
7
7
import { background } from '../fields/background.js'
8
8
9
9
export const block_pushes = {
@@ -49,7 +49,7 @@ export const block_pushes = {
49
49
image_alt ,
50
50
]
51
51
} ,
52
- align ,
52
+ offset ,
53
53
title ,
54
54
text ,
55
55
cta
Original file line number Diff line number Diff line change 1
1
export const align = {
2
2
name : 'align' ,
3
- title : 'Alignement' ,
3
+ label : 'Alignement du texte ' ,
4
4
widget : 'select' ,
5
5
options : [
6
6
{ label : 'à gauche' , value : 'start' } ,
Original file line number Diff line number Diff line change
1
+ export const offset = {
2
+ name : 'offset' ,
3
+ label : 'Alignement' ,
4
+ widget : 'select' ,
5
+ options : [
6
+ { label : 'à gauche' , value : 'start' } ,
7
+ { label : 'à droite' , value : 'end' } ,
8
+ { label : 'au centre' , value : 'center' }
9
+ ] ,
10
+ default : 'start' ,
11
+ i18n : 'duplicate'
12
+ }
You can’t perform that action at this time.
0 commit comments