From 5278194d62735b3ec7c772f1f3e02ab474aa9b6c Mon Sep 17 00:00:00 2001 From: Micheal Mand Date: Fri, 28 Jul 2017 21:53:31 -0600 Subject: [PATCH 1/2] Add missing `id` attribute to editor's textarea Without this, it is impossible to add custom config to a single CKEditor instance since `CKEDITOR.replace()` uses the `id` of the field, not the name. Signed-off-by: Micheal Mand --- Modules/Core/Resources/views/components/i18n/textarea.blade.php | 2 +- Modules/Core/Resources/views/components/textarea.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Core/Resources/views/components/i18n/textarea.blade.php b/Modules/Core/Resources/views/components/i18n/textarea.blade.php index bcc1a475a..a4862e4ed 100644 --- a/Modules/Core/Resources/views/components/i18n/textarea.blade.php +++ b/Modules/Core/Resources/views/components/i18n/textarea.blade.php @@ -6,7 +6,7 @@
{!! Form::label("{$lang}[{$fieldName}]", $labelName) !!} - + {!! $errors->first("{$lang}.{$fieldName}", ':message') !!}
diff --git a/Modules/Core/Resources/views/components/textarea.blade.php b/Modules/Core/Resources/views/components/textarea.blade.php index c7413cef7..c5bf69305 100644 --- a/Modules/Core/Resources/views/components/textarea.blade.php +++ b/Modules/Core/Resources/views/components/textarea.blade.php @@ -6,7 +6,7 @@
{!! Form::label($fieldName, $labelName) !!} - + {!! $errors->first($fieldName, ':message') !!}
From 1e6f3deb48c9f9de9d45a25bff3e243b0f8f2095 Mon Sep 17 00:00:00 2001 From: Micheal Mand Date: Sat, 29 Jul 2017 09:04:11 -0600 Subject: [PATCH 2/2] Fix `id` attribute for i18n editor Signed-off-by: Micheal Mand --- Modules/Core/Resources/views/components/i18n/textarea.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Core/Resources/views/components/i18n/textarea.blade.php b/Modules/Core/Resources/views/components/i18n/textarea.blade.php index a4862e4ed..247f91ce3 100644 --- a/Modules/Core/Resources/views/components/i18n/textarea.blade.php +++ b/Modules/Core/Resources/views/components/i18n/textarea.blade.php @@ -6,7 +6,7 @@
{!! Form::label("{$lang}[{$fieldName}]", $labelName) !!} - + {!! $errors->first("{$lang}.{$fieldName}", ':message') !!}