mirror of
https://github.com/flextype/flextype.git
synced 2025-08-17 10:30:46 +02:00
- Field `html` renamed to `editor`
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
},
|
||||
"content": {
|
||||
"title": "admin_content",
|
||||
"type": "html",
|
||||
"type": "editor",
|
||||
"size": "col-12"
|
||||
},
|
||||
"image": {
|
||||
@@ -64,4 +64,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -12,12 +12,12 @@
|
||||
},
|
||||
"summary": {
|
||||
"title": "admin_summary",
|
||||
"type": "html",
|
||||
"type": "editor",
|
||||
"size": "col-12"
|
||||
},
|
||||
"content": {
|
||||
"title": "admin_content",
|
||||
"type": "html",
|
||||
"type": "editor",
|
||||
"size": "col-12"
|
||||
}
|
||||
}
|
||||
@@ -33,4 +33,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -12,7 +12,7 @@
|
||||
},
|
||||
"content": {
|
||||
"title": "admin_content",
|
||||
"type": "html",
|
||||
"type": "editor",
|
||||
"size": "col-12"
|
||||
},
|
||||
"template": {
|
||||
@@ -74,4 +74,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -489,7 +489,7 @@ class EntriesController extends Controller
|
||||
$form_element = Form::hidden($element, $form_value);
|
||||
break;
|
||||
// A WYSIWYG HTML field.
|
||||
case 'html':
|
||||
case 'editor':
|
||||
$property['attributes']['class'] .= ' js-html-editor';
|
||||
$form_element = Form::textarea($element, $form_value, $property['attributes']);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user