Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
strapi-plugin-ckeditor5
Advanced tools
Replace Strapi default WYSIWYG editor with enhanced build of CKEditor 5
Replace default Strapi markdown WYSIWYG editor with enhanced build of HTML CKEditor 5.
Check out 👀 live demo where you can test most of the features.
Go to your Strapi project folder and execute
npm i strapi-plugin-ckeditor5
Don't forget to rebuild Strapi
npm run strapi build
Go to your Strapi project folder and execute
npm i strapi-plugin-ckeditor5@1.14.0
Don't forget to rebuild Strapi
npm run strapi build
See customization guide.
If you want to change appearance of the editor or remove unused buttons you can add a custom CKEditor configuration to override default settings:
Go to your Strapi folder
Copy template config file node_modules/strapi-plugin-ckeditor5/admin/src/config/ckeditor.js
to extensions/ckeditor5/admin/src/config
Set up extensions/ckeditor5/admin/src/config/ckeditor.js
(see CKEditor configuration guide)
Rebuild Strapi
npm run strapi build
// ckeditor.js
module.exports = {
// Override toolbar config to leave a few buttons
toolbar: {
items: [
"heading",
"|",
"bold",
"italic",
"link",
"alignment",
"|",
"undo",
"redo",
],
},
};
For information and inspiration: default editor configuration defined here.
If you want to see more features in this plugin feel free to request it in issues or create pull request in the ckeditor5-build-strapi-wysiwyg repo. Together we will build a comprehensive editor for common needs.
This plugin uses some code from official manual.
Give a star if this project helped you.
FAQs
Replace Strapi default WYSIWYG editor with enhanced build of CKEditor 5
We found that strapi-plugin-ckeditor5 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.