1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-17 10:30:46 +02:00

Flextype Box Plugin: Admin #125 #117

- Field `html` renamed to `editor`
This commit is contained in:
Awilum
2019-06-09 13:58:37 +03:00
parent c5f8ba011c
commit 7093a0e6f4
4 changed files with 8 additions and 8 deletions

View File

@@ -12,7 +12,7 @@
},
"content": {
"title": "admin_content",
"type": "html",
"type": "editor",
"size": "col-12"
},
"image": {
@@ -64,4 +64,4 @@
}
}
}
}
}

View File

@@ -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 @@
}
}
}
}
}

View File

@@ -12,7 +12,7 @@
},
"content": {
"title": "admin_content",
"type": "html",
"type": "editor",
"size": "col-12"
},
"template": {
@@ -74,4 +74,4 @@
}
}
}
}
}

View File

@@ -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;