You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was unable to generate the module files to install a CKEditor plugin in Drupal 8 due to a misspelled variable in 'console/templates/module/src/Plugin/CKEditorPlugin/plugin.php.twig'.
How to reproduce
Drupal version: 8.7.9
Console version: 1.9.4
Console Launcher version: 1.9.4
Steps to reproduce
Run drupal generate:plugin:ckeditorbutton
Follow instructions to enter appropriate values when requested.
Choose yes to proceed with the operation when prompted.
An error, 'variable "pligins_id" does not exist' appears:
Solution
Edit the variable in line 8 of the file 'console/templates/module/src/Plugin/CKEditorPlugin/plugin.php.twig' from CKEDITOR.plugins.add('{{ pligins_id }}', {
to CKEDITOR.plugins.add('{{ plugin_id }}', {
as seen in #4202
Rerun drupal generate:plugin:ckeditorbutton and the generator should complete successfully.
The text was updated successfully, but these errors were encountered:
Problem/Motivation
I was unable to generate the module files to install a CKEditor plugin in Drupal 8 due to a misspelled variable in 'console/templates/module/src/Plugin/CKEditorPlugin/plugin.php.twig'.
How to reproduce
Steps to reproduce
drupal generate:plugin:ckeditorbutton
An error, 'variable "pligins_id" does not exist' appears:

Solution
Edit the variable in line 8 of the file 'console/templates/module/src/Plugin/CKEditorPlugin/plugin.php.twig' from
CKEDITOR.plugins.add('{{ pligins_id }}', {
to
CKEDITOR.plugins.add('{{ plugin_id }}', {
as seen in #4202
Rerun
drupal generate:plugin:ckeditorbutton
and the generator should complete successfully.The text was updated successfully, but these errors were encountered: