https://github.com/cuboulder/ucb_ckeditor_plugins
This Drupal 9+ module contains a collection of CKEditor 5 plugins to add functionality to the WYSIWYG editor.
https://github.com/cuboulder/ucb_ckeditor_plugins
Last synced: 7 months ago
JSON representation
This Drupal 9+ module contains a collection of CKEditor 5 plugins to add functionality to the WYSIWYG editor.
- Host: GitHub
- URL: https://github.com/cuboulder/ucb_ckeditor_plugins
- Owner: CuBoulder
- License: gpl-2.0
- Created: 2023-03-27T15:21:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T18:59:11.000Z (about 2 years ago)
- Last Synced: 2024-05-29T10:02:24.893Z (about 2 years ago)
- Language: JavaScript
- Size: 708 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# CU Boulder CKEditor 5 Plugin Collection
This Drupal 9+ module contains a collection of CKEditor 5 plugins to add functionality to the WYSIWYG editor.
## Useful Plugin Development Links
- [CKEditor 5 Dev Tools for Drupal](https://www.drupal.org/project/ckeditor5_dev)
- Necessary for building plugins
- Demo plugin is provided within the module as well
- Read through the readmes of the demo plugin
- [Drupal 10 launched: taking content editing to the next level with CKEditor 5](https://ckeditor.com/blog/drupal-10-launched-taking-content-editing-to-the-next-level-with-ckeditor-5/)
- [USERS & EDITORS - CKEditor 5 in Drupal 10: what is there to be excited about? (31 minutes in)](https://youtu.be/SXFAxlHTbn8?t=1862)
- This is a good video to watch. It gives the basic structural information behind CKEditor plugins
- [CKEditor 5 Plugin Example Guide](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/plugins/abbreviation-plugin/abbreviation-plugin-level-1.html)
- There are three parts to this guide. Each part slowly builds on the last. I recommend building it but keep in mind that pathing for imports will be different for Drupal
- [webpack.config.js Loaders](https://github.com/ckeditor/ckeditor5/issues/139#issuecomment-286556558)
- The SVG loader is needed for icon rendering. The CSS and JS loaders are only needed if you are using attempting CKEditor's built in CSS/SASS or JS functions
- If used you will need to remove the 'include' lines as they break Drupal pathing
- [Plugin Post Update Hook](https://www.drupal.org/docs/drupal-apis/ckeditor-5-api/overview#post-update)
- What we use to make sure that our plguins' tags are appended to the 'allowed_html' options of our wysiwyg editor format filter.