Commit 8af9d9c8 authored by David Canales's avatar David Canales
Browse files

Issue #3315208: Error when updating Json field module to 8.x-1.1 version

parent 5f7444c1
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -66,3 +66,8 @@ Don't forget to clear caché for new templates.
CKEDITOR IN JSON FIELD UTILS
----------------------------
This module use CKEDITOR in some textarea fields, the way we added it, was a little bit different. We added the configuration by PHP and send values to the VUEJS code, in that file we call the CKEDITOR instance and execute the .replace() method for the respective field.

NOTE
----
If you are using Json Field Utils module 1.1.0-alpha15 or higher you should use Json Field module 8.x-1.1.
If you are using a lower version of Json Field Utils you should use Json Field module 8.x-1.0-rc4.
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
namespace Drupal\jfu\Plugin\Field\FieldWidget;

use Drupal\Core\Field\FieldItemListInterface;
use Drupal\json_field\Plugin\Field\FieldWidget\JSONTextareaWidget;
use Drupal\json_field\Plugin\Field\FieldWidget\JsonTextareaWidget;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Component\Serialization\Json;
use Drupal\Component\Utility\Environment;
@@ -24,7 +24,7 @@ use Drupal\Component\Utility\Environment;
 * )
 */

class JSONComponentWidget extends JSONTextareaWidget {
class JSONComponentWidget extends JsonTextareaWidget {
  
  /**
   * {@inheritdoc}