Mode archive ajouter pour visionner les linear avec l'ancien champs corp plus ajout du nouveau champs corp avec block
This commit is contained in:
parent
861cc67ccc
commit
bb5d12cb36
3 changed files with 56 additions and 3 deletions
|
|
@ -26,10 +26,27 @@ tabs:
|
|||
label: Chapo
|
||||
extends: fields/body
|
||||
help: optionnel
|
||||
body:
|
||||
extends: fields/body
|
||||
isArchiveMode:
|
||||
label: Mode archive
|
||||
type: toggle
|
||||
width: 1/4
|
||||
help: |
|
||||
Actif : l'ancien champ body sera affiché dans le panel (texte sans médias). Utile pour éditer d'anciens articles uniquement.
|
||||
when:
|
||||
isHtmlMode: false
|
||||
bodyBlocks:
|
||||
extends: fields/bodyBlocks
|
||||
width: 3/4
|
||||
when:
|
||||
isHtmlMode: false
|
||||
isArchiveMode: false
|
||||
body:
|
||||
extends: fields/body
|
||||
help: Anciens champs conservés pour archive (ne pas remplir pour les nouveaux articles)
|
||||
width: 3/4
|
||||
when:
|
||||
isHtmlMode: false
|
||||
isArchiveMode: true
|
||||
htmlBody:
|
||||
label: Corps
|
||||
type: textarea
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue