You are here: Sysadmins of the North » Web applications » How to extend TinyMCE in Piranha CMS?

How to extend TinyMCE in Piranha CMS?

Recently I started to use Piranha CMS on a project. Piranha CMS is a .NET 6 compatible content management system and comes with TinyMCE 5 as its editor. I wanted to extend TinyMCE and load additional plugins in my project. Here is how you can do the same.

Because the latest Piranha CMS release is fully built for .NET 6, you need Visual Studio 2022. If you open up your project and in Solutions Exlorer you click through to

  • core >
    • Piranha.Manager.Tiny.MCE >
      • assets >
        • tinymce >
          • plugins

You’ll see a lot of available plugins, but not all are loaded and available in the admin panel. These need to be configured first. Configure which TinyMCE plugins are available in the editorconfig.json file of your project, and it may looks like this:

Available TinyMCE plugins in editorconfig.json for Piranha CMS

You can add more plugins to the plugins line, and plugins that have a toolbare image available can be added to the toolbar configuration line. For example:

Here you see I added code, toc and template as plugins, and I added code and toc to the toolbar. In the admin panel’s editor, this looks as follows:

Are you looking for rock solid, eco-friendly, .NET hosting? Look no further! UmbHost offers powerful hosting services for websites and businesses of all sizes, and is powered by 100% renewable energy!

Additional TinyMCE plugins available in the toolbar


To sum it up, all you need to do is add plugins to your editorconfig.json file, rebuild your project, Web Deploy Publish and you’re ready to go. Unfortunately, the Page Embed plugin to add a Google Map is a premium plugin.

Show Your Support

donate with Paypal

If you want to step in to help me cover the costs for running this website, that would be awesome. Just use this link to donate a cup of coffee ☕($10 USD or €10 EUR for example). And please share the love and help others make use of this website. Thank you very much! <3 ❤️

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top