Open pier56 opened 6 years ago
Thanks @pier56. Sorry I just now saw this issue as I have been busy all summer. I don't know which commit you were using when this was posted. I may have fixed it, but I need to port my Drupal 7 version scripts back up to this one. Once I do, I will post on here and let you know. I will also double check the error, when I do.
Hi! try to update the class name GrapesJSEditor
to GrapesJsEditor
Thanks, @lucacracco I will look into it as soon as I can get back on this project. Got super busy.
Hi ! I encountered an error while creating the new format. Here is the errorlog :
PHP Fatal error: call_user_func_array(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Drupal\\grapesjs\\Plugin\\Editor\\GrapesJSEditor" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in [D8]/core/lib/Drupal/Core/Form/FormValidator.php on line 283, referer: [Domain]/admin/config/content/formats/add
This aprears on a fresh install of Drupal 8.5.1. Awesome plugin BTW. Cheers :)