Code

Discussion on Visual editor - A drupal 8.x/9.x page/block builder

Discussion on Visual editor - A drupal 8.x/9.x page/block builder

Cart 109 sales

drupalthemez supports this item

Supported

70 comments found.

After updating Drupal I now get this error on every page:

Notice: Undefined index: #attached in Drupal\visual_editor\Plugin\VisualEditorComponent\MenuComponent->render() (line 48 of modules/visual_editor/src/Plugin/VisualEditorComponent/MenuComponent.php).

Please help asap.

Let me check and get back to you.

Any update on this?

Guys, Your page gets flagged by any security software as Scam, like McAfee pr AVG. Clean up – this is really BAD reputation!!!!!!!!!!!!!!!!!!!!!!!!!!!!¨¨

Thank you for information. We will get it scanned.

Hello, i have installed the visual editor in a clear drupal 8.2 site as it is shown in the installation manual. Also tried to a clear drupal 8.6.12 version. When i add a basic page, i can select the text format “visual editor”. The icon to start the visual editor appiers, but onclick nothing happens.

It is a strange problem, because on all iOs devices I can not open the visual editor in firefox (current version and later) . The current firefox version on pc (same settings as on mac) makes no problem and everything works fine.

In the further course of the browser console I have seen some messages with “content security policy”. Can this prevent the opening of the visual editor?

There are chances that some js files are getting blocked.

Also try removing js aggregation in drupal settings.

thanks for the quick support. I’ll try it

I just did a clean drupal 8 install and keep having issues showing the page after creating it.

https://i.imgur.com/2MW0wLt.gifv

Drupal 8.6.10

Let me try and get back to you.

Hi,

I just tried using the same version of Drupal 8 and it is working fine. Can you check if there is any other module causing the error?

Or can you share a public url of the same at support@drupalthemez.com to check?

Hi Guys, is it possible to add predefined classes to your builder?

especially css classes

For components you can override twig templates to achieve the requirement.

Thanks for this module. Seems odd that the font_awesome folder needs to be copied from your module files to DRUPAL_ROOT/libraries/. But thanks for leaving that comment elsewhere in this comment thread – after copying the files to DRUPAL_ROOT/libraries/, it works now. Perhaps you should consider loading font_awesome from your module files?

Ok no worries :) Hey is there a way to place more columns inside a column? I guess, with how Bootstrap works, it would need to be a row inside that column, and then more columns inside the row.

As of now there is no option for nested grid. But I have planned for the same.

Ok. Thanks. Yeah, it would be a great feature. If you just copied all the features of the Divi plugin for Wordpress, your plugin would be incredible. It’s great, and it has a lot of potential :)

Hello,

I requested a patch to remove character limit for heading component, after that you guys changed the Heading’s value from text field to text area.

I would like to have a WYSIWYG on that textarea. Please provide a patch for the above request.

Thanks

Hi,

I have updated the component. Please replace the content of HeadingComponent.php with content given in following link:

http://drupalthemez.com/patches/HeadingComponent.php.txt

It’s still coming up empty, http://prntscr.com/lqj2z9.

Quick patch would be appreciated, this issue has been opened since 26 days.

Hi,

I have update HeadingComponent.php at following link, please update content of HeadingComponent.php with it.

http://drupalthemez.com/patches/HeadingComponent.php.txt

Hi, We have problem with Visual editor when using Internet Explorer + CKEditor. DropDown Styles and Format does not work well. Drop down does not open. The content of DropDown just flashes. So the change of Headings or Styles is not possible. In Chrome or in Firefox works all OK. Thanks for solution Lenka

Hi,

I will update you shortly on this.

Hi,

I am able to reproduce the issue and looking for solution. Meanwhile the workaround for this is to click Source button twice and then click drop down.

Hi, any upadte on our issue with IE and CKEditor? Our clients has to use IE :(, therfore we are really looking for fix… Thanks

Hello,

I am having another issue, when ever an AJAX request execute the Visual Editor’s display hide out, below is the screenshot for reference: http://prntscr.com/l3l0rd

Hi,

Thank you for information, I will check the compatibility issue with paragraph fields and get back to you with updates.

Hello,

Is there any updates?

hello, visual editor don’t work with my config, i have “porto shop 7” drupal and all modules are update i upload the ‘libraries’ to the root and enable the modules but don’t work perhaps not compatible with ‘php code’ filter format ?

Hi,

Have you added gmap api key in visual editor configuration?

Hello,

I am facing a character limit issue in Heading widget, please have a at the screenshot and provide the fix to increase the limit: http://prntscr.com/kyg2x7

Thanks

Hi,

Please change your heading element type from text field to textarea.

Use patch given at link below to do the same:

http://drupalthemez.com/patches/visual-editor-8.x-2.6-2018-09-25-HeaderComponentCharacterLimit.patch

Hi,

After upgrading Drupal core to 8.6 several plugin shows a notice of ’ Undefined index’

It happens when: 1) Creating a new content 2) Adding a row, col and then a plugin. Some of the plugin showing a notice are: ‘image’, ‘block content’, ‘gmap’

This is the message for the ‘image’ plugin:

Notice: Undefined index: link in Drupal\visual_editor\Plugin\VisualEditorComponent\ImageComponent->buildForm() (line 28 of /Applications/MAMP/htdocs/mysite.it/modules/custom/visual_editor/src/Plugin/VisualEditorComponent/ImageComponent.php) #0 /Applications/MAMP/htdocs/mysite.it/core/includes/bootstrap.inc(584): _drupal_error_handler_real(8, ‘Undefined index…’, ’/Applications/M…’, 28, Array) #1 /Applications/MAMP/htdocs/mysite.it/modules/custom/visual_editor/src/Plugin/VisualEditorComponent/ImageComponent.php(28): _drupal_error_handler(8, ‘Undefined index…’, ’/Applications/M…’, 28, Array) #2 /Applications/MAMP/htdocs/mysite.it/modules/custom/visual_editor/src/Form/ComponentForm.php(149): Drupal\visual_editor\Plugin\VisualEditorComponent\ImageComponent->buildForm(Array, Object(Drupal\Core\Form\FormState), Array) #3 [internal function]: Drupal\visual_editor\Form\ComponentForm->buildForm(Array, Object(Drupal\Core\Form\FormState), Array) #4 /Applications/MAMP/htdocs/mysite.it/core/lib/Drupal/Core/Form/FormBuilder.php(518): call_user_func_array(Array, Array) #5 /Applications/MAMP/htdocs/mysite.it/core/lib/Drupal/Core/Form/FormBuilder.php(275): Drupal\Core\Form\FormBuilder->retrieveForm(‘visual_editor_c…’, Object(Drupal\Core\Form\FormState)) #6 /Applications/MAMP/htdocs/mysite.it/core/lib/Drupal/Core/Form/FormBuilder.php(216): Drupal\Core\Form\FormBuilder->buildForm(‘visual_editor_c…’, Object(Drupal\Core\Form\FormState)) #7 /Applications/MAMP/htdocs/mysite.it/modules/custom/visual_editor/src/Controller/ComponentController.php(56): Drupal\Core\Form\FormBuilder->getForm(‘Drupal\\visual_e…’, ‘{id”,”...’) #8 [internal function]: Drupal\visual_editor\Controller\ComponentController->content(Object(Symfony\Component\HttpFoundation\Request), ‘ajax’) #9 /Applications/MAMP/htdocs/mysite.it/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #10 /Applications/MAMP/htdocs/mysite.it/core/lib/Drupal/Core/Render/Renderer.php(582): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #11 /Applications/MAMP/htdocs/mysite.it/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #12 /Applications/MAMP/htdocs/mysite.it/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #13 /Applications/MAMP/htdocs/mysite.it/vendor/symfony/http-kernel/HttpKernel.php(151): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #14 /Applications/MAMP/htdocs/mysite.it/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #15 /Applications/MAMP/htdocs/mysite.it/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #16 /Applications/MAMP/htdocs/mysite.it/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #17 /Applications/MAMP/htdocs/mysite.it/core/modules/page_cache/src/StackMiddleware/PageCache.php(99): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #18 /Applications/MAMP/htdocs/mysite.it/core/modules/page_cache/src/StackMiddleware/PageCache.php(78): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /Applications/MAMP/htdocs/mysite.it/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /Applications/MAMP/htdocs/mysite.it/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /Applications/MAMP/htdocs/mysite.it/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /Applications/MAMP/htdocs/mysite.it/core/lib/Drupal/Core/DrupalKernel.php(665): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /Applications/MAMP/htdocs/mysite.it/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #24 {main}.

Hi,

I will update you on this after testing and resolving the issues.

Hi!

I’m having an error in the front when the user is not authenticated. It says:

Uncaught ReferenceError: Drupal is not defined at visual-editor-front.js?pea1vd:65

When I’m authenticated all works fine. This only happens when the user is not logged in.

Thanks for your support.

Hi!

Sorry I can’t share a link, I’m working in local. Yes I’ve cleared the cache multiple times using drush.

I don’t know if this will help, but my sistem information is this:

Drupal Version: 8.5.6 Web Server: nginx/1.14.0 PHP Version: 7.1.16-1+ubuntu18.04.1+deb.sury.org+1 (more information) Memory limit: 512M

Hi,

Please confirm if core/drupal library is available or not your theme. Visual editor front requires that library.

That was the error. I don’t know why, but if the user is logged in, core/drupal is available although is not a dependencie in the theme. Now I’ve seen it. Thanks for your help, now it works fine.

Yes, we are using porto theme

Tell me about when to wait for an answer. It’s just a very urgent question for me.

I will Will try to update you within 24hrs. Can you provide subversion of drupal core?

I buy this module. and when install view error Notice: Undefined index: default in Drupal\views\Plugin\views\PluginBase->setOptionDefaults() (line 184 of core/modules/views/src/Plugin/views/PluginBase.php). Drupal\views\Plugin\views\PluginBase->setOptionDefaults(Array, Array) (Line: 138) Drupal\views\Plugin\views\PluginBase->init(Object, Object, Array) (Line: 102) Drupal\views\Plugin\views\HandlerBase->init(Object, Object, Array) (Line: 118) Drupal\views\Plugin\views\field\FieldPluginBase->init(Object, Object, Array) (Line: 895) Drupal\views\Plugin\views\display\DisplayPluginBase->getHandlers(‘field’) (Line: 546) Drupal\views\Entity\View->onDependencyRemoval(Array) (Line: 470) Drupal\Core\Config\ConfigManager->callOnDependencyRemoval(Object, Array, ‘module’, Array) (Line: 333) Drupal\Core\Config\ConfigManager->getConfigEntitiesToChangeOnDependencyRemoval(‘module’, Array) (Line: 43) Drupal\system\Form\ModulesUninstallConfirmForm->addDependencyListsToForm(Array, ‘module’, Array, Object, Object) (Line: 148) Drupal\system\Form\ModulesUninstallConfirmForm->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 518) Drupal\Core\Form\FormBuilder->retrieveForm(‘system_modules_uninstall_confirm_form’, Object) (Line: 275) Drupal\Core\Form\FormBuilder->buildForm(‘system_modules_uninstall_confirm_form’, Object) (Line: 74) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 582) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 666) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) Notice: Undefined index: default in Drupal\views\Plugin\views\PluginBase->setOptionDefaults() (line 184 of core/modules/views/src/Plugin/views/PluginBase.php). Drupal\views\Plugin\views\PluginBase->setOptionDefaults(Array, Array) (Line: 138) Drupal\views\Plugin\views\PluginBase->init(Object, Object, Array) (Line: 102) Drupal\views\Plugin\views\HandlerBase->init(Object, Object, Array) (Line: 118) Drupal\views\Plugin\views\field\FieldPluginBase->init(Object, Object, Array) (Line: 895) Drupal\views\Plugin\views\display\DisplayPluginBase->getHandlers(‘field’) (Line: 546) Drupal\views\Entity\View->onDependencyRemoval(Array) (Line: 470) Drupal\Core\Config\ConfigManager->callOnDependencyRemoval(Object, Array, ‘module’, Array) (Line: 333) Drupal\Core\Config\ConfigManager->getConfigEntitiesToChangeOnDependencyRemoval(‘module’, Array) (Line: 43) Drupal\system\Form\ModulesUninstallConfirmForm->addDependencyListsToForm(Array, ‘module’, Array, Object, Object) (Line: 148) Drupal\system\Form\ModulesUninstallConfirmForm->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 518) Drupal\Core\Form\FormBuilder->retrieveForm(‘system_modules_uninstall_confirm_form’, Object) (Line: 275) Drupal\Core\Form\FormBuilder->buildForm(‘system_modules_uninstall_confirm_form’, Object) (Line: 74) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 582) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 666) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Hi,

Can you provide drupal 8.x version? Also is it coming on fresh drupal installation?

Yes, we are using fresh istalled drupal 8 http://www.dobrovidenie.ru/

Hello,

I found another bug, when I use Rich Text Component and update the content using “Source” and then save the content, Visual Editor doesn’t save the updated content.

Below is the screencast for reference: https://screencast-o-matic.com/watch/cFj6otqj0v

Prompt response would be appreciated.

Any updates on the issue?

I was able to reproduce it. I will update you as soon as I resolves it.

Hello,

I am having problem with images in Rich Text using visual editor, When I upload image using WYSIWYG in Rich Text Component, after a day all images gets removed.

Prompt response would be appreciated.

Hello,

Thanks for providing the patch quickly, but it is giving below error in both patch files: fatal: corrupt patch at line 22

Hi,

I have updated patches at same links.

Hello, I have several questions about updating the visual editor module.

I currently have Visual Editor installed under /modules/visual_editor-8.x-2.1, so I guess I have version 8.x-2.1 installed. What is the latest version? And is that downloadable from Code Canyon? Do I have access to all upgrades of the module if I purchased it?

Also, I saw on your website the following installation instructions:

Upload libraries directory to drupal root directory Install as you would normally install a contributed Drupal module

My libraries folder insn’t in the root but instead under the visual editor folder, so it looks like this:

-modules —visual_editor-8.x-2.1 —-modules —-libraries

Is that a problem if the libraries is there instead of at the root? Everything seems to be working fine that way.

If there is an update, how do you update the module? The file that I downloaded from code canyon today after I extracted has a folder name of codecanyon-19859426-visual-editor-a-drupal-8x-page-builder.

What should be the folder name in the Drupal installation? Do I just copy the files into the existing folder name I am using which is visual_editor-8.x-2.1 or should the folder name under modules be visual_editor?

Thank you for your help!

The error could be related to Entity browser. I will try to reproduce the issue and get back to you if I find anything.

I’ve successfully upgraded all of my local sites. I now want to do the production sites. I’m getting a little kick back from my customers about doing the upgrade. They actually raised some good questions. If Visual Editor is updated again in the future will this type of issue come up again where the columns break and need to be rebuilt or was this just a one-time thing? It just doesn’t seem efficient to have to do that everytime an upgrade to Visual Editor is made. Also, what would be the ramifications if I didn’t do the upgrade and just kept the old version of Visual Editor?

Hi,

There are chances that we can have such upgrades because of addition of new features but not frequently and possibly with backward compatibility to reduce redevelopment efforts.

There will be no harm if you do not upgrade on production. The only problem with this will be, you will not be able to use new features.

Hello, before buying your Visual editor module, I have a question. Is it possible to add a text over the image carousel? (the image as background and text over it).

Thank you,

Michel

Not as of now. But you can create custom component to achieve your requirements.

Hi,

I’ve found another bug. This time is in relation with a contrib module, better_formats (https://www.drupal.org/project/better_formats) Better format allows to specify which formats are available on a field – I need it to use only Visual Editor in some fields.

However, in combination with Visual Editor there is this bug: I usually create my content on local test site, and after it is validated I copy the resulting json and paste in the text are of the new content in the real site. If that field has limited text formats (thanks better formats), after I paste the json and save the content, the text inside the field area is reverted to the last saved one (or empty one if the content is new).

In other words, it is impossible to export and import the content.

I can’t determine if this bug is due to Visual Editor module or Better Formats, I hope you can check this issue too.

Thanks for your support.

We will check it at our end and get back to you.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey