npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@mexicanrobot/strapi-plugin-ckeditor5

v1.0.6

Published

Replace Strapi default WYSIWYG editor with enhanced build of CKEditor 5

Downloads

22

Readme

Strapi CKEditor5 plugin

Replace default Strapi markdown WYSIWYG editor with enhanced build of HTML CKEditor 5.

strapi-plugin-ckeditor5

👀 Live Demo

Features

  • Enhanced build of CKEditor 5 with more capabilities then Classic Editor build
  • Extensive set of features for your rich content
  • Optional editor customization
  • Automatically upload Inserted images to Media Library (thanks to ckeditor5-strapi-upload-plugin)
  • Media Library button to insert stored images directly to the editor 🔥
  • Automatic translation of UI into selected in Strapi language 🔥 (Strapi v3)
  • Full screen mode 🔥

How to try

Check out 👀 live demo where you can test most of the features.

How to install

Strapi v4 (work in progress)

Go to your Strapi project folder and execute

npm i strapi-plugin-ckeditor5@latest

Don't forget to rebuild Strapi

npm run strapi build

Strapi v3

Go to your Strapi project folder and execute

npm i [email protected]

Don't forget to rebuild Strapi

npm run strapi build

How to remove unused buttons (Strapi v3)

See customization guide.

How to customize editor (optional, Strapi v3)

If you want to change appearance of the editor or remove unused buttons you can add a custom CKEditor configuration to override default settings:

  1. Go to your Strapi folder

  2. Copy template config file node_modules/strapi-plugin-ckeditor5/admin/src/config/ckeditor.js to extensions/ckeditor5/admin/src/config

  3. Set up extensions/ckeditor5/admin/src/config/ckeditor.js (see CKEditor configuration guide)

  4. Rebuild Strapi

npm run strapi build

Configuration example (Strapi v3)

// ckeditor.js
module.exports = {
    // Override toolbar config to leave a few buttons
    toolbar: {
        items: [
            "heading",
            "|",
            "bold",
            "italic",
            "link",
            "alignment",
            "|",
            "undo",
            "redo",
        ],
    },
};

Default configuration (Strapi v3)

For information and inspiration: default editor configuration defined here.

How to add more features to the editor

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.

Acknowledgement

This plugin uses some code from official manual.

Links

⭐️ Show your support

Give a star if this project helped you.