Module not working

Created on 7 February 2023, almost 2 years ago
Updated 10 February 2023, almost 2 years ago

Problem/Motivation

Hello,

I downloaded the module, but it does not seem to work.
Is it a work in progress kind of project, or do I need to configure something?

Steps to reproduce

1. Download the module
2. Download the ckeditor 5 plugin for wordcount https://ckeditor.com/docs/ckeditor5/latest/features/word-count.html
3. Added the ckeditor 5 plugin in the module as so:
- js
build
word-count.js
ckeditor5_plugins
wordCount
src
index.js
utils.js
wordcount.js

The modulename.ckeditor5.yml

modulename_wordcount:
ckeditor5:
plugins:
- wordCount.WordCount
drupal:
label: Word Count
library: modulename/wordcount
admin_library: modulename/admin
toolbar_items:
wordCount:
label:Word Count
elements:
-

-
-
-

In webpack.config.js
output: {
path: path.resolve(__dirname, './js/build'),
filename: 'word-count.js',
library: ['CKEditor5', 'WordCount'],
libraryTarget: 'umd',
libraryExport: 'default'
},

Maybe there is something that I did not configure correctly. When it loads the page, with the CKEditor5, a js error appears with not finding the plugin.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: won't fix

Component

Code

Created by

🇷🇴Romania bogdanstamate06

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024