mirror of
https://github.com/strapi/strapi.git
synced 2025-12-06 12:01:52 +00:00
Display WYSIWYG in ctb
This commit is contained in:
parent
828e808fa8
commit
1688e01be9
@ -93,6 +93,7 @@ class PopUpForm extends React.Component { // eslint-disable-line react/prefer-st
|
|||||||
errors={errors}
|
errors={errors}
|
||||||
didCheckErrors={this.props.didCheckErrors}
|
didCheckErrors={this.props.didCheckErrors}
|
||||||
autoFocus={key === 0}
|
autoFocus={key === 0}
|
||||||
|
inputStyle={item.inputStyle || {}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -137,6 +137,22 @@
|
|||||||
},
|
},
|
||||||
"advancedSettings": {
|
"advancedSettings": {
|
||||||
"items": [
|
"items": [
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"id": "content-type-builder.form.attribute.item.appearance.name"
|
||||||
|
},
|
||||||
|
"label": {
|
||||||
|
"id": "content-type-builder.form.attribute.item.appearance.label"
|
||||||
|
},
|
||||||
|
"name": "params.WYSIWYG",
|
||||||
|
"type": "checkbox",
|
||||||
|
"value": false,
|
||||||
|
"validations": {},
|
||||||
|
"inputDescription": {
|
||||||
|
"id": "content-type-builder.form.attribute.item.appearance.description"
|
||||||
|
},
|
||||||
|
"inputStyle": { "fontWeight": "500" }
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": {
|
"title": {
|
||||||
"id": "content-type-builder.form.attribute.item.settings.name"
|
"id": "content-type-builder.form.attribute.item.settings.name"
|
||||||
|
|||||||
@ -49,6 +49,9 @@
|
|||||||
"form.attribute.item.json.name": "Name",
|
"form.attribute.item.json.name": "Name",
|
||||||
"form.attribute.item.boolean.name": "Name",
|
"form.attribute.item.boolean.name": "Name",
|
||||||
"form.attribute.item.string.name": "Name",
|
"form.attribute.item.string.name": "Name",
|
||||||
|
"form.attribute.item.appearance.name": "Appearance",
|
||||||
|
"form.attribute.item.appearance.label": "Display as a WYSIWYG",
|
||||||
|
"form.attribute.item.appearance.description": "Otherwise, the value will be editable through a basic textarea field",
|
||||||
"form.attribute.item.settings.name": "Settings",
|
"form.attribute.item.settings.name": "Settings",
|
||||||
"form.attribute.item.requiredField": "Required field",
|
"form.attribute.item.requiredField": "Required field",
|
||||||
"form.attribute.item.uniqueField": "Unique field",
|
"form.attribute.item.uniqueField": "Unique field",
|
||||||
|
|||||||
@ -51,6 +51,9 @@
|
|||||||
"form.attribute.item.media.name": "Nom",
|
"form.attribute.item.media.name": "Nom",
|
||||||
"form.attribute.item.media.multiple": "Peut être relié à plusieurs fichiers",
|
"form.attribute.item.media.multiple": "Peut être relié à plusieurs fichiers",
|
||||||
"form.attribute.item.string.name": "Nom",
|
"form.attribute.item.string.name": "Nom",
|
||||||
|
"form.attribute.item.appearance.name": "Apparence",
|
||||||
|
"form.attribute.item.appearance.label": "Editable avec un WYSIWYG",
|
||||||
|
"form.attribute.item.appearance.description": "Sinon, il sera editable à partir d'une simple textarea",
|
||||||
"form.attribute.item.settings.name": "Paramètres",
|
"form.attribute.item.settings.name": "Paramètres",
|
||||||
"form.attribute.item.requiredField": "Champ obligatoire",
|
"form.attribute.item.requiredField": "Champ obligatoire",
|
||||||
"form.attribute.item.uniqueField": "Champ unique",
|
"form.attribute.item.uniqueField": "Champ unique",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user