diff --git a/resources/js/components/FormField.vue b/resources/js/components/FormField.vue index 79aca32..03eabcc 100644 --- a/resources/js/components/FormField.vue +++ b/resources/js/components/FormField.vue @@ -18,13 +18,12 @@ @@ -36,7 +35,7 @@ import EmailEditor from './UnlayerEditor' import { FormField, HandlesValidationErrors } from 'laravel-nova' - const defaultHeight = '500px'; + const defaultHeight = '700px'; export default { mixins: [FormField, HandlesValidationErrors], @@ -48,7 +47,7 @@ props: ['resourceName', 'resourceId', 'field'], computed: { - editorHeight() { + containerHeight: function () { return this.field.height || defaultHeight; }, }, diff --git a/resources/js/components/UnlayerEditor.vue b/resources/js/components/UnlayerEditor.vue index 444426d..d9c4d18 100644 --- a/resources/js/components/UnlayerEditor.vue +++ b/resources/js/components/UnlayerEditor.vue @@ -1,5 +1,5 @@ + + +