https://github.com/thunder/paragraphs_features
https://github.com/thunder/paragraphs_features
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thunder/paragraphs_features
- Owner: thunder
- License: gpl-2.0
- Created: 2018-02-21T15:48:26.000Z (about 7 years ago)
- Default Branch: 2.x
- Last Pushed: 2025-01-07T14:07:14.000Z (4 months ago)
- Last Synced: 2025-04-02T09:51:15.048Z (24 days ago)
- Language: PHP
- Size: 186 KB
- Stars: 1
- Watchers: 6
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.CKEditor5.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## CKEditor 5 plugin development
Based on the [CKEditor 5 plugin development starter template](https://git.drupalcode.org/project/ckeditor5_dev/-/tree/1.0.x/ckeditor5_plugin_starter_template).
Plugin source should be added to
`js/ckeditor5_plugins/{pluginNameDirectory}/src` and the build tools expect this
directory to include an `index.js` file that exports one or more CKEditor 5
plugins. Note that requiring `index.js` to be inside
`{pluginNameDirectory}/src` is not a fixed requirement of CKEditor 5 or Drupal,
and can be changed in `webpack.config.js` as needed.In the module directory, run `npm install` to set up the necessary assets. The
initial run of `install` may take a few minutes, but subsequent builds will be
faster.After installing dependencies, plugins can be built with `npm run build` or `npm run
watch`. They will be built to `js/build/{pluginNameDirectory}.js`. co