Skip to main content

Install Blk42 plugin for TinyMCE

Blk42 adds Bootstrap and Tailwind grids to your TinyMCE: insert a block with the grid layout you pick, edit the grid, fill the block with content and save it as a template for later.

  • Download​

    Get the Blk42 plugin for upgrading your existing installation of:

    Download Plugin
  • Unpack​

    Unpack the archive into the TinyMCE folder, the one that holds plugins/. The plugin lands here:

    tinymce/
    plugins/
    blk42/
    plugin.js
    plugin.min.js
  • Enable​

    Enable the Blk42 add-on in the TinyMCE config:

    tinymce.init({
    selector: "#editor",
    plugins: "image,link,blk42",

    // apiKey: "...",
    // Get your own key in the Dashboard: https://blk42.com/dashboard
    });
  • Ready to Use

Configuration​

Configure your Blk42 TinyMCE installation in the Dashboard: set the Bootstrap or Tailwind options and share your custom blocks between your websites, all without touching the code.

Blk42 uses the editor's own image upload and browse settings (file_picker_callback), block backgrounds included. For blocks together with a file manager and an image editor in one plugin, use N1ED.

Dashboard

Examples​

Live CodePlay examples for TinyMCE with the JS/CSS/HTML code provided.