# Install Blk42 plugin for CKEditor 4

> Install the Blk42 Tailwind and Bootstrap editor into CKEditor 4: download the plugin, unpack it into the CKEditor folder, enable it in config.js.

Source: https://blk42.com/docs/install/ckeditor-4  
Section: Installation > CKEditor 4  
Every page of blk42.com has a Markdown copy at its URL + `.md` (`index.md` after a URL that ends in `/`); all of them are in one file: https://blk42.com/llms-full.txt

Blk42 adds Bootstrap and Tailwind grids to your CKEditor 4: 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.

## Step 1: Download

Get the Blk42 plugin for installing into your existing CKEditor 4 editor.

Note: using the latest free version of CKEditor (4.22.1) is recommended.

[Download Plugin](https://blk42.com/download/blk42-ckeditor.zip)

## Step 2: Unpack

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

```text
ckeditor/
  plugins/
    blk42/
      plugin.js
```

## Step 3: Enable

Enable the Blk42 add-on in the CKEditor 4 config:

### Tab: config.js

```js
CKEDITOR.editorConfig = function(config) {
    config.extraPlugins = "blk42";
    config.versionCheck = false; // skip its upgrade notice of CKEditor itself

    // config.apiKey = "...";
    // Get your own key in the Dashboard: https://blk42.com/dashboard
}
```

### Tab: Direct initialization

```js
CKEDITOR.replace("editorId", {
    extraPlugins: "blk42",
    versionCheck: false, // skip its upgrade notice of CKEditor itself

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

Please avoid using spaces in `extraPlugins` if you have other plugins enabled. Use a comma only as the separator.

## ✓ Ready to Use

## Configuration

Configure your Blk42 CKEditor 4 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 (`filebrowserBrowseUrl`), block backgrounds included. For blocks together with a file manager and an image editor in one plugin, use [N1ED](https://n1ed.com).

[Dashboard](https://blk42.com/dashboard)

## Examples

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

- [Bootstrap in CKEditor 4](https://blk42.com/docs/examples/ckeditor-4/bootstrap)
- [Tailwind in CKEditor 4](https://blk42.com/docs/examples/ckeditor-4/tailwind)
