
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
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.
Sample for this article.
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
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 empty config file node_modules/strapi-plugin-ckeditor5/admin/src/config/ckeditor.js
to extensions/ckeditor5/admin/src/config
Add to extensions/ckeditor5/admin/src/config/ckeditor.js
your custom configuration
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 researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.