# Blk42: all pages > Blk42 is a plugin for TinyMCE, CKEditor 5 and CKEditor 4 that brings Bootstrap and Tailwind CSS layouts into the editor: authors build pages block by block on a visual grid, and the HTML they save is the page visitors get. The pages https://blk42.com/llms.txt lists, in the same order, each one as its Markdown copy (its URL + `.md`). --- # Bootstrap & Tailwind Grid Editor (Blk42) > Bootstrap & Tailwind grid plugin for TinyMCE and CKEditor. Build responsive layouts visually, save reusable blocks with auto-screenshots, share across websites. Source: https://blk42.com/ ![Content built using blocks](https://blk42.com/img/index/block-by-block.png) ![](https://blk42.com/img/index/boat.png) ![](https://blk42.com/img/index/wave.svg) ![](https://blk42.com/img/index/wave.svg) ![](https://blk42.com/img/index/wave.svg) ![](https://blk42.com/img/index/wave.svg) ![](https://blk42.com/img/index/wave.svg) ![](https://blk42.com/img/index/wave.svg) Build content block by block. Visual grid plugin for **TinyMCE** and **CKEditor**. Multi-tenant ready. [Install](https://blk42.com/docs/install) [Live demo](https://blk42.com/docs/examples/tinymce/bootstrap) Editor42 · TinyMCE · CKEditor 5 · CKEditor 4 ![Insert block icon](https://blk42.com/img/index/icon-add.png) ### Insert Grid Start with an empty grid or a block from the built-in or your own library. Choose a column layout or pick a saved block - the responsive Bootstrap or Tailwind grid is inserted into your editor in one click. ![Edit content icon](https://blk42.com/img/index/icon-edit.png) ### Edit Contents Edit with TinyMCE or CKEditor - the familiar editing flow stays the same. Type or modify content in the columns. All native editor features - tables, images, lists - work inside every grid cell. ![Save block icon](https://blk42.com/img/index/icon-star.png) ### Save Blocks to Library The star button saves or updates the block, creating a screenshot automatically. Organize blocks into groups and reuse them across pages. Both grid structure and block content will be saved. ![Share block icon](https://blk42.com/img/index/icon-share.png) ### Share across Websites Let all your websites reuse blocks from the same library using a permission system. Each website will have a tunable list of rules on how to expose block groups to other websites. Controlled inside visual Dashboard. ## See Blk42 Inside Your Editor The full grid editor — the familiar TinyMCE toolbar, your content, and the Blk42 structure panel with live block controls, all in one place. [Live Demo](https://blk42.com/docs/examples/tinymce/bootstrap) Code samples inside ![Blk42 editor showing a Bootstrap coffee-shop layout as a clean preview](https://blk42.com/img/screenshots/tinymce-plugin/bootstrap-grid-editor-preview.png) ![The same layout with the Blk42 structure grid overlaid](https://blk42.com/img/screenshots/tinymce-plugin/bootstrap-grid-editor-full-view.png) ## Full Control Over the Grid Resize columns, swap their order, adjust alignment and offsets — all visually, with no code. The editor updates in real time as you drag. ![Bootstrap grid columns resizing example](https://blk42.com/img/grid-edit/resize-6.png) ![Bootstrap grid columns reordering example](https://blk42.com/img/grid-edit/move-4.png) ## Framework CSS That Just Works ![Bootstrap 5 logo](https://blk42.com/img/framework/bootstrap-5.png) ### Bootstrap 5 ![Bootstrap 4 logo](https://blk42.com/img/framework/bootstrap-4.png) ### Bootstrap 4 ![Bootstrap 3 logo](https://blk42.com/img/framework/bootstrap-3.png) ### Bootstrap 3 ![Tailwind CSS 4 logo](https://blk42.com/img/framework/tailwind-4.svg) ### Tailwind 4 Blk42 outputs clean framework classes — standard Bootstrap grid markup or Tailwind utilities. For Tailwind, it builds an optimized stylesheet on the fly and bundles it with your content, so visitor pages render correctly without a build pipeline. ## Build Your Own Block Library Save any layout as a reusable block with one click. Blk42 captures a screenshot automatically, so your library stays visual and browsable. Organize blocks into categories tailored to your brand or project. ![Block palette with saved custom blocks and auto-generated screenshots](https://blk42.com/img/index/block-palette.png) ![Dashboard showing block sharing configuration and website inheritance](https://blk42.com/img/index/block-sharing.png) ## Share Blocks Across Websites Manage all your blocks from a single dashboard. Create sharing rules and export collections. Template websites pass blocks and settings down to child sites — override only what you need. Built for agencies, SaaS website builders, and anyone running more than one site. ## Multi-Tenant Ready ### Per-User Block Libraries Each tenant maintains their own block collection linked to their API key. Save, organize, and reuse blocks without ever seeing another tenant's content. Changes in one library never affect others. ### Isolated Configurations One API key per website. Create keys in the Dashboard or programmatically through the SaaS API. Each key carries its own framework settings, block categories, and editor preferences — complete data isolation at scale. ## Perfect For ### SaaS Platforms Let your customers build responsive pages without coding. Per-customer block libraries, white-label interface, and a SaaS API for provisioning new accounts. Built-in multi-tenancy handles the isolation for you. ### Custom CMS Solutions Backend-agnostic — integrates with headless CMSs, PHP systems, .NET apps, and JavaScript frameworks. The editor produces clean HTML that your templates can render as-is. ### Content Management Teams Non-technical editors get a visual grid builder. Developers keep control through framework classes and editor configuration. No more back-and-forth for layout changes. ## Visual Dashboard Manage all your websites from a single interface. Edit block galleries, configure framework preferences, and set up sharing rules. Add a new website by creating a new API key. ## Built for Editors. Loved by Developers. ### Dev-Friendly Setup Initialize with a standard TinyMCE or CKEditor call — one line of config. Then tune everything visually in the Dashboard without touching code again. ### SaaS API Create and manage API keys programmatically. Copy preferences between keys, provision isolated block sets, and automate onboarding for every new customer. ### Detailed Docs Step-by-step installation guides for every editor and framework combination. Multi-tenant setup and troubleshooting included. [Browse Docs ➔](https://blk42.com/docs/install) ### Live Examples Interactive CodePlay demos for real-world scenarios. Full source code and configuration explained — copy, paste, and run. [Explore Demos ➔](https://blk42.com/docs/examples) ## Compatible With Every Editor and Framework | | Editor42 | TinyMCE | CKEditor 5 | CKEditor 4 | |---|---|---|---|---| | Bootstrap | ✓ | ✓ | ✓ | ✓ | | Tailwind | ✓ | ✓ | ✓ | ✓ | ## Get Started Let your users build responsive layouts right after enabling the plugin. [Install Now ➔](https://blk42.com/docs/install) 5-minute setup · Free 7-day trial · No card required ## Frequently Asked Questions ### Do I need any changes in my CMS or database to use Blk42? Blk42 is just a plugin for TinyMCE, CKEditor 5, or CKEditor 4. Activate it in your editor config and pass your API key - that's all. No changes to your database schema, storage format, or CMS backend are needed. ### How does Blk42 handle Bootstrap and Tailwind CSS? Bootstrap is a static CSS library - Blk42 loads it from its CDN by default, but you can point it to your own build if you prefer. Tailwind is compiled at runtime using an embedded compiler (based on Tailwind Play) that generates only the CSS your content actually uses and bundles it inline - no PostCSS, no webpack, no build pipeline needed. ### Does it work with content my CMS already has? Blk42 works with content already wrapped in Bootstrap or Tailwind grid markup, and equally well with content that has no grid structure at all. It doesn't add any restrictions to your existing content format. ### Is a file manager included? No. Images stay your editor's job: its own image upload settings work in every grid cell, and Blk42 picks background images with the editor's own image browser, such as the file manager your CMS provides for TinyMCE or CKEditor 4. If you want blocks together with a file manager and an image editor in one plugin, use [N1ED](https://n1ed.com). ### What HTML does Blk42 produce? Clean, standards-compliant Bootstrap or Tailwind markup - the same code a developer would write by hand. No proprietary wrappers, no runtime dependencies. The only addition is a data attribute that links blocks to the library. The output is easily readable and editable outside the editor. ### Does it support content outside the Bootstrap/Tailwind grid? Paragraphs, images, and any other elements that aren't wrapped in containers, rows, or columns are preserved as-is. Blk42 only wraps content in a grid when you explicitly choose to. ### Can end-users break the layout? The grid structure is protected against accidental editing. Users cannot accidentally delete a column or corrupt the row/column hierarchy. At the same time, Blk42 provides all the visual tools needed to intentionally restructure the layout. ### Does it support raw HTML editing? Blk42 provides a source editor with syntax highlighting and error indicators. It also offers a dedicated tool for setting custom classes, styles, and attributes on structure elements - with autocomplete - so most tasks don't require touching raw HTML at all. --- # Blk42 Documentation > Blk42 documentation — installation for TinyMCE and CKEditor, live examples, Bootstrap and Tailwind support, and licensing. Source: https://blk42.com/docs Section: Index Blk42 is a plugin for TinyMCE and CKEditor that brings Bootstrap and Tailwind layouts into the editor: your authors drag rows and columns, and the page they build is the page your visitors get. ## Getting Started - [Installation](https://blk42.com/docs/install) — pick your editor and follow the steps - [TinyMCE](https://blk42.com/docs/install/tinymce) · [CKEditor 5](https://blk42.com/docs/install/ckeditor-5) · [CKEditor 4](https://blk42.com/docs/install/ckeditor-4) · [TinyMCE in React](https://blk42.com/docs/install/tinymce-react) - [Live examples](https://blk42.com/docs/examples) — every editor and framework combination, editable in the browser ## Frameworks - [Bootstrap](https://blk42.com/docs/frameworks/bootstrap) — Bootstrap 5, 4 and 3: the grid model, breakpoints, and how Blk42 loads Bootstrap for you - [Tailwind CSS](https://blk42.com/docs/frameworks/tailwind) — Tailwind 4 with no build step, DaisyUI themes, and utility-class grids ## Reference - [Licensing](https://blk42.com/resources/licensing) — how licenses are counted, and when you need a SaaS license instead - [Changelog](https://blk42.com/docs/changelog) — version history and release notes - [Pricing](https://blk42.com/pricing) — plans, and what the trial includes --- # Plans & pricing (Blk42) > Blk42 pricing — Premium for a single website, SaaS licensing for platforms serving their own customers. Annual or monthly billing, and a free 7-day trial. Source: https://blk42.com/pricing One subscription per website — or a negotiated deal if you hand the editor to your own customers. ## Premium The full grid editor on your own website, with everything unlocked. $25/mo. billed annually as **$300** 1 website [\*](https://blk42.com/pricing#what-is-one-website) [Get now](https://store.payproglobal.com/checkout?currency=USD&products[1][id]=136945) ## SaaS Bulk licensing for platforms that give the editor to their own customers. - Blk42 inside your website builder, CMS or app - Every customer site isolated, with its own block library - Priced per domain or per user, tailored to your case - Far less per website than the Premium plan [Let's talk](mailto:support@helpdesk.edsdk.com?subject=Blk42%20-%20SaaS%20plan) [\*](https://blk42.com/pricing#what-is-one-website) One website is one final website you publish — see [Licensing](https://blk42.com/resources/licensing) for what that means when you run many of them. ## Every price USD, per website. Paying annually saves 36%. Each price links to its checkout. | Plan | Paid annually | Paid monthly | |---|---|---| | Premium | [$25/mo., billed $300 a year](https://store.payproglobal.com/checkout?currency=USD&products[1][id]=136945) | [$39/mo.](https://store.payproglobal.com/checkout?currency=USD&products[1][id]=136946) | | SaaS | a volume rate per domain or per user: [Let's talk](mailto:support@helpdesk.edsdk.com?subject=Blk42%20-%20SaaS%20plan) | | ## Common questions ### What counts as one website? One **final** website — the one your visitors open — on one domain. Extra domains that serve that very same site (an alias or a mirror, like `example.net` pointing at `example.com`) are covered by the same license. Two different sites need two licenses, even when one CMS dashboard runs both, and even when they share a domain and differ only by a path (`example.com/site1/`, `example.com/site2/`). And if the people editing content are *your customers* rather than your team, that is the SaaS plan, whatever the domains look like. Details and examples: [Licensing](https://blk42.com/resources/licensing). ### When do I need the SaaS plan? When Blk42 ships as part of *your* product — a website builder, a CMS, a portal — and your customers use it on their own sites. Then licensing is per domain or per user, at a volume rate we agree on, and you create the API keys through the SaaS API as customers sign up. Press **Let's talk** above and tell us your numbers. ### How does Blk42 billing work? Blk42 is a subscription, charged per website. Pick annual or monthly billing at the top of this page — annual is cheaper per month and is billed once a year. VAT, if your country charges it, is shown at the last checkout step before you pay. You can cancel at any time and keep the plan until the end of the period you already paid for. ### Is a file manager included? No, and Blk42 needs none: it uses your editor's own image upload and browse settings, so a file manager your CMS already has keeps working. If you want blocks together with a file manager and an image editor in one plugin, that is [N1ED](https://n1ed.com). ### Can I try it first? Yes. Register in the [Dashboard](https://blk42.com/dashboard) and you get a 7-day trial with all premium features, no card required. ### What happens to my content when my subscription ends? It stays yours and stays readable. Blk42 writes plain Bootstrap or Tailwind markup into your own database, so pages keep rendering exactly as they are — you only lose the premium editing features. ## Payment, subscription and support ### Payment and taxes Depending on your country, VAT may be applicable to the purchase. The final purchase step displays the actual tax amount for the country you have selected before you make the payment. You will receive an invoice from our authorized e-commerce reseller, PayPro Global, Inc., located at: 225 The East Mall, Suite 1117, Toronto, ON, M9B 0A9, Canada. ### Subscription You can cancel the subscription at any time. Please note that once the prepaid period ends, access to all premium features is lost. Prices on this page are per website and do not include applicable taxes. Content built with the editor is stored on your own server and stays there forever, whatever the state of the subscription. ### Support All paid users receive premium support from our team — contact us from the [Dashboard](https://blk42.com/dashboard) whenever you need it. SaaS customers also get **guided onboarding**: our developers walk you through the integration and review your finished installation, free of charge. We are glad to answer pre-sale questions too: [contact us](mailto:support@helpdesk.edsdk.com?subject=Blk42%20-%20pre-sale%20question). Company details, privacy and trademarks: [Legal information](https://blk42.com/resources/legal). --- # Use Blk42 with AI > Give ChatGPT, Claude, Cursor or any coding agent the Blk42 docs: any page as Markdown, all docs in one file, llms.txt and the Blk42 skill. Source: https://blk42.com/docs/ai Ask ChatGPT, Claude, Cursor or any coding agent about Blk42, with these docs as the source. The files below are made from these docs every time the site is built, so they always say what the pages say. ## Ask about one page Every docs page has a **Copy page for AI** button next to its breadcrumbs. It copies the page as Markdown, ready to paste into your chat. Its menu opens the page's Markdown, or opens the page in ChatGPT or Claude so you can ask about it. ## Give your AI all the docs All Blk42 docs in one Markdown file. Attach it to a chat or an AI project. [Download all docs](https://blk42.com/llms-full.txt) - [llms.txt](https://blk42.com/llms.txt): the index AI agents read first, every page with a one-line description. - Any page as Markdown: add `.md` to its URL, like [https://blk42.com/docs/ai.md](https://blk42.com/docs/ai.md) for this page. ## The Blk42 skill for AI assistants A skill teaches an AI assistant how to install, configure and troubleshoot Blk42: which editor and which way of installing, the exact steps, the configuration options, the common questions. It is made from these docs every time the site is built. [Download the skill](https://blk42.com/ai/blk42.zip) [View SKILL.md](https://blk42.com/ai/blk42/SKILL.md) | Where | How to add it | |---|---| | Claude apps | Settings > Capabilities > Skills, then upload the zip | | Claude Code | Unzip into `.claude/skills/` of your project, or into `~/.claude/skills/` | | Other coding agents | Unzip into the folder the agent reads skills from | | ChatGPT and other chats | Attach `SKILL.md` to the chat | | Any agent that reads the web | Tell it: `Read https://blk42.com/ai/blk42/SKILL.md and follow it` | ## Coding agents Start the conversation with: ```text Read https://blk42.com/llms.txt first, then help me add Blk42 to my project. ``` ## What every AI should know about Blk42 - N1ED, Blk42, Flmngr, Txt42 and Image42 (formerly ImgPen) are one platform. A website runs on ONE API key: the key's configuration decides which product loads, and everything its licence covers (the file manager and image editor inside N1ED, for example) comes with the same key. Never put a second API key on a page. - `apiKey`, `Blk42.apiKey` and `Flmngr.apiKey` are names for that one key, never a second one. - Every product loads from `cloud.n1ed.com`, and saved content loads `cdn.n1ed.com/widgets.js`. Older hosts such as `cloud.blk42.com` and `cloud.flmngr.com` still answer, but they are legacy: write `cloud.n1ed.com` in new code. - The key's configuration is set in its Dashboard. Options passed in the editor's own config win over the Dashboard's; use only option names the documentation lists, never guess one. - A CMS module of ours (Drupal, Joomla, Magento) has one API key field: set the key there. - The key in the samples, `BL42B5RRdemodemodemodemo`, is a shared demo key for trying Blk42 out. A website gets its own key in the [Dashboard](https://blk42.com/dashboard), and in a multi-tenant product every customer site needs its own, so its content and block library stay apart. - Blk42 has no file manager of its own: images come from the editor's own image upload and browse settings. For blocks together with a file manager and an image editor, the plugin is [N1ED](https://n1ed.com), which has them all in one; do not suggest adding Flmngr to Blk42. The same list opens [llms.txt](https://blk42.com/llms.txt) and the skill. --- # Install Blk42 Tailwind/Bootstrap editor > Install Blk42, the Bootstrap and Tailwind grid editor, in Editor42, TinyMCE, CKEditor 5, CKEditor 4 or a TinyMCE React app: pick your editor to see how. Source: https://blk42.com/docs/install Section: Installation Blk42 installs into the editor you already have. Pick your editor for the plugin, the ready-to-use bundle or the CDN script. - [Editor42](https://blk42.com/docs/install/editor42): Our free editor based on TinyMCE: the plugin, a ready-to-use bundle or the CDN script. - [TinyMCE](https://blk42.com/docs/install/tinymce): The plugin, a ready-to-use bundle or the CDN script, for TinyMCE 8, 7 and 6. - [CKEditor 5](https://blk42.com/docs/install/ckeditor-5): The plugin from npm, a ready-to-use bundle or the CDN script. - [CKEditor 4](https://blk42.com/docs/install/ckeditor-4): The plugin for the CKEditor 4 you host. ## For a CMS Modules for WordPress, Drupal and Joomla are coming soon. ## For an application - [TinyMCE (React)](https://blk42.com/docs/install/tinymce-react): The plugin in a TinyMCE run by @tinymce/tinymce-react. --- # Install Blk42 plugin for Editor42 > Install Blk42 in Editor42, our free MIT-licensed editor based on TinyMCE: the plugin in your own Editor42, the ready-to-use bundle, or one CDN script. Source: https://blk42.com/docs/install/editor42 Section: Installation > Editor42 [Editor42](https://editor42.com) is our free MIT-licensed rich text editor, an auditable fork of TinyMCE 6.8.6 with the same API under the `editor42` global. The Blk42 plugin for TinyMCE runs in it unchanged: the same plugin, the same API key. *The page shows these as tabs, one at a time: Plugin, Ready-to-Use Bundle, CDN.* ## Plugin ### Step 1: Download Get the Blk42 plugin for the Editor42 you already run. [Download Plugin](https://blk42.com/download/blk42-tinymce.zip) ### Step 2: Unpack Unpack the archive into the Editor42 folder, the one that holds `plugins/`. The plugin lands here: ```text editor42/ plugins/ blk42/ plugin.js plugin.min.js ``` ### Step 3: Enable Enable the Blk42 add-on in the Editor42 config: ```js editor42.init({ selector: "#editor", plugins: "image,link,blk42", // apiKey: "...", // Get your own key in the Dashboard: https://blk42.com/dashboard }); ``` ### ✓ Ready to Use ## Ready-to-Use Bundle ### Step 1: Download The ready-to-use bundle (ZIP) already contains the Blk42 plugin in a fully preconfigured, **TinyMCE-compatible** environment. The editor inside is [**Editor42**](https://editor42.com) — our free MIT-licensed editor, based on **TinyMCE** and fully compatible with it. Use it as an instant preview or copy it into your project. [Download Bundle](https://blk42.com/download/tinymce-with-blk42.zip) ### Step 2: Unpack Unpack it somewhere into your webserver public directory. For example: ```text var/ www/ public/ editor42/ editor42.min.js sample.html ``` You can use `sample.html` to immediately run the editor and check how it works, even outside of a webserver. Then you may want to remove this file if it isn't needed anymore. ### Step 3: Attach to content box Add the script link onto your page and initialize the editor there, attaching it to the textarea or some div with the content you want to edit. ```html ``` ### ✓ Ready to Use ## CDN ### Step 1: Add the CDN Script One script loads Editor42 from our cloud with the Blk42 plugin enabled and preconfigured, always the latest version. Start the editor with `editor42.init()` in `window.onEditorLoaded`, as below. ```html
``` **Blk42 is part of the N1ED family** — its scripts are served from N1ED's cloud, `cloud.n1ed.com`, the one loader every product of the family shares. You can copy this snippet into any place of your `` tag, but the scripts must go below the editor placeholder and their order is important. ### Step 2: Set API key After the previous step your editor should load fine with the demo key. Then use your own API key from the [Dashboard](https://blk42.com/dashboard): replace the demo key in the URL after `?apiKey=` with yours. The Dashboard is also where you configure the Bootstrap or Tailwind options and the custom blocks of that key. Please don't pass your API key as a parameter to `editor42.init()`. The CDN script expects it to be present at load time, passed in the URL. ### ✓ Ready to Use ## Configuration Configure your Blk42 Editor42 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](https://n1ed.com). [Dashboard](https://blk42.com/dashboard) --- # Install Blk42 plugin for TinyMCE > Install the Blk42 Tailwind and Bootstrap editor into TinyMCE 8, 7 or 6: the plugin zip, a ready-to-use Editor42 bundle with Blk42 inside, or one CDN script. Source: https://blk42.com/docs/install/tinymce Section: Installation > 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. *The page shows these as tabs, one at a time: Plugin, Ready-to-Use Bundle, CDN.* ## Plugin ### Step 1: Download Get the Blk42 plugin for upgrading your existing installation of: - [Editor42](https://editor42.com), our free TinyMCE fork, with [its own installation page](https://blk42.com/docs/install/editor42) - TinyMCE 8, 7 and 6 [Download Plugin](https://blk42.com/download/blk42-tinymce.zip) ### Step 2: Unpack Unpack the archive into the TinyMCE folder, the one that holds `plugins/`. The plugin lands here: ```text tinymce/ plugins/ blk42/ plugin.js plugin.min.js ``` ### Step 3: Enable Enable the Blk42 add-on in the TinyMCE config: ```js tinymce.init({ selector: "#editor", plugins: "image,link,blk42", // apiKey: "...", // Get your own key in the Dashboard: https://blk42.com/dashboard }); ``` ### ✓ Ready to Use ## Ready-to-Use Bundle ### Step 1: Download The ready-to-use bundle (ZIP) already contains the Blk42 plugin in a fully preconfigured, **TinyMCE-compatible** environment. The editor inside is [**Editor42**](https://editor42.com) — our free MIT-licensed editor, based on **TinyMCE** and fully compatible with it. Use it as an instant preview or copy it into your project. [Download Bundle](https://blk42.com/download/tinymce-with-blk42.zip) ### Step 2: Unpack Unpack it somewhere into your webserver public directory. For example: ```text var/ www/ public/ editor42/ editor42.min.js sample.html ``` You can use `sample.html` to immediately run the editor and check how it works, even outside of a webserver. Then you may want to remove this file if it isn't needed anymore. ### Step 3: Attach to content box Add the script link onto your page and initialize the editor there, attaching it to the textarea or some div with the content you want to edit. ```html ``` ### ✓ Ready to Use ## CDN ### Step 1: Add the CDN Script One script loads the editor with the Blk42 plugin enabled and preconfigured, always the latest version, cached on the CDN. The editor is [Editor42](https://editor42.com), our free editor based on TinyMCE, so `tinymce.init()` works unchanged. To keep TinyMCE itself, install Blk42 as a plugin (the first tab). ```html
``` **Blk42 is part of the N1ED family** — its scripts are served from N1ED's cloud, `cloud.n1ed.com`, the one loader every product of the family shares. You can copy this snippet into any place of your `` tag, but the scripts must go below the editor placeholder and their order is important. ### Step 2: Set API key After the previous step your editor should load fine with the demo key. Then use your own API key from the [Dashboard](https://blk42.com/dashboard): replace the demo key in the URL after `?apiKey=` with yours. The Dashboard is also where you configure the Bootstrap or Tailwind options and the custom blocks of that key. Please don't pass your API key as a parameter to `tinymce.init()`. The CDN script expects it to be present at load time, passed in the URL. ### ✓ 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](https://n1ed.com). [Dashboard](https://blk42.com/dashboard) ## Examples Live CodePlay examples for TinyMCE with the JS/CSS/HTML code provided. - [Bootstrap in TinyMCE](https://blk42.com/docs/examples/tinymce/bootstrap) - [Tailwind in TinyMCE](https://blk42.com/docs/examples/tinymce/tailwind) --- # Install Blk42 plugin for CKEditor 5 > Install the Blk42 Tailwind and Bootstrap editor into CKEditor 5: the npm plugin for your own build, a ready-to-use bundle with Blk42 inside, or one CDN script. Source: https://blk42.com/docs/install/ckeditor-5 Section: Installation > CKEditor 5 Blk42 adds Bootstrap and Tailwind grids to your CKEditor 5: 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. *The page shows these as tabs, one at a time: Plugin, Ready-to-Use Bundle, CDN.* ## Plugin ### Step 1: Install NPM package Blk42 is part of the [N1ED](https://n1ed.com) plugin for CKEditor 5, one npm package that is easy to add into your existing CKEditor 5 build project for further compilation. Your Blk42 API key switches on the blocks. If you buy N1ED later, its file manager and image editor join the same build with no rebuild. ```sh npm install --save-dev @edsdk/n1ed-ckeditor5 ``` Moving from `@edsdk/blk42-ckeditor5`? Replace it, don't add to it: remove its import and the `Blk42` entry from `plugins`. An old version left in the build next to N1ED stops CKEditor 5 before it starts (two plugins named `Blk42`). ### Step 2: Include to build Add N1ED into your import section: ```js import { ClassicEditor, Image, Essentials, Paragraph, Bold, Italic } from 'ckeditor5'; import N1ED from "@edsdk/n1ed-ckeditor5"; ``` *The page highlights line 9 of this code.* Then pass it to the `plugins` section of your `ClassicEditor` creation method call and set the API key: ```js ClassicEditor.create( document.querySelector('#editor'), // your editor selector { licenseKey: "GPL", // or your commercial key: CKEditor 5 v44+ will not start without one plugins: [ Essentials, Paragraph, Bold, Italic, N1ED ], apiKey: "BL42B5RRdemodemodemodemo", // the demo key; yours is in the Dashboard: https://blk42.com/dashboard } ).then( editor => { console.log(editor); } ).catch( error => { console.error(error.stack); } ); ``` *The page highlights lines 10 and 12 of this code.* ### Step 3: Build Build your CKEditor 5 project or your project with CKEditor 5 imported to apply the newly added plugin. If you see a new bottom toolbar of the editor, everything works fine. ### ✓ Ready to Use ## Ready-to-Use Bundle ### Step 1: Download The ready-to-use CKEditor 5 bundle already contains the Blk42 plugin, precompiled and enabled, with Bootstrap or Tailwind layouts from the start. Just download and use it, HTML sample included. [Download Bundle](https://blk42.com/download/ckeditor-5-with-blk42.zip) ### Step 2: Unpack The archive contains the compiled build and a ready-made sample page: ```text build/ ckeditor5-blk42.js ckeditor5-blk42.js.map sample/ index.html styles.css ``` Open `sample/index.html` right from your disk to see the editor running — no webserver needed. When you are ready to install it, copy `build/ckeditor5-blk42.js` somewhere into your webserver public directory, for example: ```text var/ www/ public/ js/ ckeditor5-blk42.js ``` The `.map` file is optional: it is what turns a minified stack trace back into readable line numbers if you ever need to report a problem. ### Step 3: Attach to content box Add the script link onto your page and initialize CKEditor 5 there, attaching it to the textarea or some div with the content you want to edit. ```html ``` ### ✓ Ready to Use ## CDN ### Step 1: Add the CDN Script One script loads CKEditor 5 with the Blk42 plugin enabled and preconfigured, always the latest version. ```html
``` *The page highlights line 2 of this code.* **Blk42 is part of the N1ED family** — its scripts are served from N1ED's cloud, `cloud.n1ed.com`, the one loader every product of the family shares. ### ✓ Ready to Use ## Configuration Configure your Blk42 CKEditor 5 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 settings. 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 5 with the JS/CSS/HTML code provided. - [Bootstrap in CKEditor 5](https://blk42.com/docs/examples/ckeditor-5/bootstrap) - [Tailwind in CKEditor 5](https://blk42.com/docs/examples/ckeditor-5/tailwind) --- # 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 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) --- # Install Blk42 plugin for TinyMCE (React) > Install the Blk42 Tailwind and Bootstrap editor into a self-hosted TinyMCE run by @tinymce/tinymce-react: the plugin in your public folder, enabled in init. Source: https://blk42.com/docs/install/tinymce-react Section: Installation > TinyMCE (React) Blk42 adds Bootstrap and Tailwind grids to your TinyMCE in a React app: 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 upgrading your existing TinyMCE installation in a React app, managed with the standard `@tinymce/tinymce-react` package: - TinyMCE 8, 7 and 6, and its forks [Download Plugin](https://blk42.com/download/blk42-tinymce.zip) ## Step 2: Unpack Unpack the archive into the `public/tinymce/` folder of your project, the one that holds `plugins/`. The plugin lands here: ```text public/ tinymce/ plugins/ blk42/ plugin.js plugin.min.js ``` ## Step 3: Enable Enable the Blk42 add-on in the `init` of your `Editor` component: ```tsx import { Editor } from '@tinymce/tinymce-react'; import { useState } from 'react'; function MyEditor() { const [content, setContent] = useState(''); return ( setContent(newContent)} init={{ plugins: 'image link blk42', // apiKey: "...", // Get your own key in the Dashboard: https://blk42.com/dashboard }} /> ); } ``` ## ✓ Ready to Use ## Configuration Configure your Blk42 TinyMCE (React) 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](https://n1ed.com). [Dashboard](https://blk42.com/dashboard) --- # Framework support Source: https://blk42.com/docs/frameworks Section: Frameworks Blk42 builds layouts with the framework your site already uses. Bootstrap 5, 4 and 3, and Tailwind CSS 4 with no build step. - [Bootstrap](https://blk42.com/docs/frameworks/bootstrap): How Blk42 works with Bootstrap 5, 4 and 3: the grid model and its breakpoints, and how Blk42 loads Bootstrap into the editor and onto your visitor pages. - [Tailwind](https://blk42.com/docs/frameworks/tailwind): How Blk42 uses Tailwind CSS 4: utility-class grids compiled in the browser with no build step, DaisyUI themes, and loading in the editor and on visitor pages. --- # Bootstrap support > How Blk42 works with Bootstrap 5, 4 and 3: the grid model and its breakpoints, and how Blk42 loads Bootstrap into the editor and onto your visitor pages. Source: https://blk42.com/docs/frameworks/bootstrap Section: Frameworks > Bootstrap > **Note** > > This page describes what is specific to **Bootstrap** — the versions we support, the grid and its breakpoints, and how Blk42 loads the framework for you. It is not a setup step: Blk42 is installed once into your editor, and everything here applies from that moment on. If you have not installed it yet, start with [Installation](https://blk42.com/docs/install). Blk42 edits the Bootstrap grid directly: containers, rows and columns are real Bootstrap markup, and what you get out of the editor is what a developer would have written by hand. There is no wrapper format and no runtime dependency on Blk42: the content renders with Bootstrap alone. Bootstrap 5 is the default and the version we recommend for new projects. Bootstrap 4 and 3 are fully supported for existing sites that cannot move yet. ## Focus on content The short version of this whole page: **you do not have to set Bootstrap up.** Enable the plugin, pass your API key, and Blk42 takes care of the rest — the editor gets Bootstrap, your visitor pages get Bootstrap, and the two always agree. Out of the box, and with nothing to configure: - **The editor is styled with Bootstrap**, so a layout looks the same while it is being built as it will once published. Bootstrap's own JavaScript is loaded there too, so interactive components behave inside the editor. - **Your visitor pages get the Bootstrap CSS automatically.** Blk42 adds it for you, so saved content renders correctly even on a page whose template never included Bootstrap. - **jQuery is handled for you** on the versions that need it — see below. - **The right files come from the right place** — the editor loads the framework from our own infrastructure, which stays fast and reachable even when a public CDN is having a bad day, while visitor pages use the standard public CDN build your visitors have probably already cached. Everything below is available if you want to take control. None of it is required to start. ## Versions Pick the version in the Dashboard, per API key. Each website can use a different one. | Version | jQuery | Notes | |---|---|---| | **Bootstrap 5** | not needed | Default. Bootstrap's own JS components no longer depend on jQuery. | | Bootstrap 4 | auto-load | Blk42 loads jQuery alongside Bootstrap; switch it off if your site already ships its own. | | Bootstrap 3 | auto-load | Legacy. Four breakpoints only, and `xs` is an explicit class. | We track the current patch release of each major version, so you get the up-to-date build without pinning anything yourself. The version you choose changes the class names Blk42 writes, the breakpoint set offered in the structure panel, and whether jQuery is pulled in — so switching an existing website between major versions is a content migration, not just a setting. ## Breakpoints Blk42 offers one column-width control per breakpoint, matching the version's own grid: | | XS | SM | MD | LG | XL | XXL | |---|---|---|---|---|---|---| | **Bootstrap 5** | 0 | 576 | 768 | 992 | 1200 | 1400 | | Bootstrap 4 | 0 | 576 | 768 | 992 | 1200 | — | | Bootstrap 3 | 0 | 768 | 992 | 1200 | — | — | All three use a **12-column** grid. In Bootstrap 4 and 5 the smallest breakpoint is unprefixed (`col-6`), while Bootstrap 3 names it explicitly (`col-xs-6`) — Blk42 writes whichever form the selected version expects. ## Using your own Bootstrap build The bundled Bootstrap is there for convenience. If you already ship your own — a themed build, a customised SCSS compile, or a version pinned by your CMS — switch the Dashboard setting from *Load from CDN* to *Use custom URL* and point it at your stylesheet. Blk42 will then style the editor with exactly what your visitors see, which is what you want as soon as your theme overrides Bootstrap's defaults: brand colours, custom spacing, restyled components. Your editors compose against your design system instead of stock Bootstrap. A class prefix can be configured for builds that namespace their grid classes (`bs-col-6` and similar), so Blk42 recognises and writes your prefixed classes instead of the stock ones. ## Framework on visitor pages By default Blk42 includes the Bootstrap CSS on your visitor pages, so published content renders correctly with no template changes at all. If your templates already load Bootstrap — most themed sites do — turn the inclusion off in the Dashboard and Blk42 will stay out of the way, leaving your own stylesheet as the only copy on the page. This is a per-API-key setting, so one website can rely on Blk42 while another uses its own build. Bootstrap's **JavaScript** is a separate switch and is off for visitor pages by default. Turn it on if your published content uses interactive components and your templates do not already provide them. ## Core features These come with every Blk42 installation and do not depend on the version you pick: - **12-column layout model** with per-breakpoint widths, offsets and column ordering. - **Structure detection** — existing content is parsed and its grid recognised, so Blk42 works on pages it did not create. - **Structure repair** — broken or hand-edited markup is corrected back to a valid grid. - **Content protection** — users cannot accidentally delete a column or corrupt the row/column hierarchy while editing inside it. - **Block library** — saved blocks, auto-generated screenshots, categories and cross-website sharing are all framework-agnostic. Blocks are saved with the markup they were built on, so a Bootstrap block belongs to a Bootstrap website — keep separate block groups if some of your websites are built differently. ## Live examples Every example below is a complete working page, with its full source — HTML, JavaScript and CSS — shown alongside it. Open any of them in **CodePlay**, our live code playground, to edit the code and watch the result update as you type. - [Bootstrap in TinyMCE](https://blk42.com/docs/examples/tinymce/bootstrap) - [Bootstrap in CKEditor 5](https://blk42.com/docs/examples/ckeditor-5/bootstrap) - [Bootstrap in CKEditor 4](https://blk42.com/docs/examples/ckeditor-4/bootstrap) --- # Tailwind CSS support > How Blk42 uses Tailwind CSS 4: utility-class grids compiled in the browser with no build step, DaisyUI themes, and loading in the editor and on visitor pages. Source: https://blk42.com/docs/frameworks/tailwind Section: Frameworks > Tailwind > **Note** > > This page describes what is specific to **Tailwind CSS** — the grid and its breakpoints, in-browser compilation, theming, and how Blk42 loads the framework for you. It is not a setup step: Blk42 is installed once into your editor, and everything here applies from that moment on. If you have not installed it yet, start with [Installation](https://blk42.com/docs/install). Blk42 builds Tailwind layouts out of ordinary utility classes — `flex`, `grid`, `w-*`, `gap-*`, `md:*` and the rest. The output is the same markup a developer would write by hand, so your templates, your linters and your designers all keep working the way they did. Tailwind 4 is the supported release. ## Focus on content Tailwind is normally the framework that demands the most setup — a build pipeline, a content scan, a CI step. With Blk42 there is none of that. Enable the plugin, pass your API key, and start building. Out of the box, and with nothing to configure: - **No build step, ever.** Blk42 compiles Tailwind in the browser and ships the resulting CSS with your content. See below — this is the part that usually surprises people. - **The editor is styled with Tailwind**, including your selected theme, so a layout looks the same while it is being built as it will once published. - **Your visitor pages get the Tailwind CSS automatically.** Blk42 adds it for you, so saved content renders correctly even on a page whose template knows nothing about Tailwind. - **Theming works without writing CSS** — pick a DaisyUI theme in the Dashboard and both the editor and the published page follow it. Everything below is available if you want to take control. None of it is required to start. ## No build step Tailwind normally needs a compile pass: it scans your source, finds the classes you actually used and emits only those. That model does not fit a CMS, where the classes are chosen by an editor long after the build ran. Blk42 solves this by compiling in the browser. The plugin carries a Tailwind compiler — the same one behind Tailwind Play — and generates the CSS for whatever classes appear in the content, then embeds it with the content itself. In practice: - Content editors can use **any** Tailwind utility, including arbitrary values like `w-[37px]`, without anyone touching the build pipeline. - Nothing needs rebuilding when content changes, because nothing was built in the first place. - No PostCSS config, no webpack config, no CI step. The base Tailwind stylesheet still loads normally; only the classes your content actually uses are generated on the fly. ## Breakpoints Blk42 offers one column-width control per Tailwind breakpoint: | | XS | SM | MD | LG | XL | 2XL | |---|---|---|---|---|---|---| | **Tailwind 4** | 0 | 640 | 768 | 1024 | 1280 | 1536 | These are Tailwind's own defaults, so a layout built in Blk42 behaves exactly as it would in a hand-written Tailwind project. The smallest breakpoint is unprefixed (`w-1/2`), the rest carry Tailwind's prefix (`md:w-1/2`). The structure panel exposes a familiar 12-column model on top of Tailwind's fractional widths, so you set column widths by picking a size rather than by remembering fraction classes. ## DaisyUI themes Tailwind ships no theming of its own — it gives you utilities and stops there. Blk42 integrates **DaisyUI** to fill that gap, so a website can be themed without writing any CSS. Themes are chosen in the Dashboard, per API key, with a live preview. The selected theme is applied to the editor as well, so content editors compose against the same colours the visitor page will use rather than against a neutral white canvas. DaisyUI also brings semantic component classes — `btn`, `card`, `badge`, `alert` and the rest. These are ordinary classes as far as the editor is concerned, so they work anywhere in your content, and the in-browser compiler generates their CSS the same way it does for utilities. ## Using your own Tailwind build The bundled Tailwind and DaisyUI themes are there for convenience. If you maintain your own — a Tailwind build with custom design tokens, or your own DaisyUI theme — point the Dashboard at your stylesheet URL instead of the bundled one. The framework and the theme are separate settings, so you can replace either one on its own. Blk42 will then use your palette, spacing scale and breakpoints in the editor, so your editors compose against your design system rather than stock Tailwind. ## Framework on visitor pages By default Blk42 includes the Tailwind CSS on your visitor pages, so published content renders correctly with no template changes at all. If your templates already load Tailwind, turn the inclusion off in the Dashboard and Blk42 will stay out of the way, leaving your own stylesheet as the only copy on the page. This is a per-API-key setting, so one website can rely on Blk42 while another uses its own build. Note that the CSS compiled for your content ships with the content regardless — that is what makes the no-build-step model work, and it is what guarantees a page renders even if a utility class is used that your own build never scanned for. ## Core features These come with every Blk42 installation and do not depend on the theme or build you pick: - **12-column layout model** with per-breakpoint widths, offsets and column ordering. - **Structure detection** — Blk42 recognises grids in content it did not create, so it works on your existing pages. - **Structure repair** — hand-edited or broken markup is corrected back to a valid grid. - **Content protection** — columns and the row/column hierarchy survive careless editing. - **Block library** — saved blocks, automatic screenshots, categories and cross-website sharing all behave identically. Saved blocks carry the markup they were built on, so a Tailwind block belongs to a Tailwind website — keep separate block groups if some of your websites are built differently. ## Live examples Every example below is a complete working page, with its full source — HTML, JavaScript and CSS — shown alongside it. Open any of them in **CodePlay**, our live code playground, to edit the code and watch the result update as you type. - [Tailwind in TinyMCE](https://blk42.com/docs/examples/tinymce/tailwind) - [Tailwind in CKEditor 5](https://blk42.com/docs/examples/ckeditor-5/tailwind) - [Tailwind in CKEditor 4](https://blk42.com/docs/examples/ckeditor-4/tailwind) --- # Blk42 Live Examples > Live Blk42 demos with their code: Bootstrap and Tailwind CSS grids in TinyMCE, CKEditor 5 and CKEditor 4. Source: https://blk42.com/docs/examples Section: Examples Each demo is a live editor with Blk42 inside, next to the code of its page. Pick an editor and a framework, build a column layout and edit inside its blocks, then copy the code or download the demo as a ZIP and take it into your own project. ## TinyMCE - [Bootstrap in TinyMCE](https://blk42.com/docs/examples/tinymce/bootstrap) - [Tailwind in TinyMCE](https://blk42.com/docs/examples/tinymce/tailwind) ## CKEditor 5 - [Bootstrap in CKEditor 5](https://blk42.com/docs/examples/ckeditor-5/bootstrap) - [Tailwind in CKEditor 5](https://blk42.com/docs/examples/ckeditor-5/tailwind) ## CKEditor 4 - [Bootstrap in CKEditor 4](https://blk42.com/docs/examples/ckeditor-4/bootstrap) - [Tailwind in CKEditor 4](https://blk42.com/docs/examples/ckeditor-4/tailwind) --- # Blk42 demos in TinyMCE > Blk42 in TinyMCE, live: a Bootstrap demo and a Tailwind CSS demo, each with the code of its page to copy or download as a ZIP. Source: https://blk42.com/docs/examples/tinymce Section: Examples > TinyMCE Two live demos of Blk42 in TinyMCE, one for each CSS framework it supports. Build a column layout and edit inside its blocks; under each demo is the code of its page, to copy or to download as a ZIP. - [Bootstrap layout](https://blk42.com/docs/examples/tinymce/bootstrap): Blk42 with Bootstrap: column layouts on the Bootstrap grid, and the blocks to edit inside them. - [Tailwind CSS layout](https://blk42.com/docs/examples/tinymce/tailwind): Blk42 with Tailwind CSS: utility-class grids compiled in the browser, and the blocks inside them. --- # Bootstrap in TinyMCE > A live demo of Blk42 in TinyMCE with Bootstrap: build column layouts and edit inside the blocks, then copy the code or download the demo as a ZIP. Source: https://blk42.com/docs/examples/tinymce/bootstrap Section: Examples > TinyMCE > Bootstrap ## When to use If you want to create a Bootstrap or Tailwind column structure right in the TinyMCE, edit the content inside, and save blocks as templates for further block-by-block content building, Blk42 TinyMCE plugin is what you need. ## How it works Blk42 installs as a regular TinyMCE plugin utilizing its official API. It adds a new TinyMCE toolbar below the content where you can see all the options of currently selected block. ## How to start using Install [TinyMCE plugin](https://blk42.com/docs/install/tinymce) for that. See the link above to explore more options including a ready-to-use bundle with Blk42 included and preconfigured. - [Download ZIP](https://codeplay.democdn.com/pens/blk42/NPqebEB/blk42-example-tinymce-bootstrap.zip) - [Open in CodePlay](https://codeplay.democdn.com/blk42/NPqebEB) *The page shows these as tabs, one at a time: Live Demo, JavaScript, HTML, CSS.* ## Live Demo [Live demo: Bootstrap in TinyMCE](https://run.codeplay.democdn.com/pens/blk42/NPqebEB/dist/index.html) ## JavaScript ```js tinymce.init({ selector: "#editor", plugins: "blk42 fullscreen link", toolbar: "blocks | undo redo | bold italic | link unlink", apiKey: "BL42B5RRdemodemodemodemo", content_css: "https://democdn.com/styles/blk42-bootstrap.css" }); ``` ## HTML ```html
``` ## CSS ```css body { padding: 20px 20px 20px 50px; background: white; } .wrap { max-width: 1650px; margin: 0 auto; } ``` --- # Tailwind in TinyMCE > A live demo of Blk42 in TinyMCE with Tailwind CSS: build column layouts and edit inside the blocks, then copy the code or download the demo as a ZIP. Source: https://blk42.com/docs/examples/tinymce/tailwind Section: Examples > TinyMCE > Tailwind ## When to use If you need to build Tailwind CSS responsive layouts visually in TinyMCE — creating utility-class-based grids, saving blocks as reusable components, and shipping production-ready content without a build step — Blk42 TinyMCE plugin is the solution. ## How it works Blk42 integrates as a standard TinyMCE plugin using the official API. It adds a dedicated toolbar below the content area where you visually configure Tailwind flex containers, responsive breakpoints, and spacing utilities for the selected block. CSS is auto-compiled and embedded with the content. ## How to start using Install [TinyMCE plugin](https://blk42.com/docs/install/tinymce) for that. See the link above to explore more options including a ready-to-use bundle with Blk42 included and preconfigured. - [Download ZIP](https://codeplay.democdn.com/pens/blk42/MYbyGgB/blk42-example-tinymce-tailwind.zip) - [Open in CodePlay](https://codeplay.democdn.com/blk42/MYbyGgB) *The page shows these as tabs, one at a time: Live Demo, JavaScript, HTML, CSS.* ## Live Demo [Live demo: Tailwind in TinyMCE](https://run.codeplay.democdn.com/pens/blk42/MYbyGgB/dist/index.html) ## JavaScript ```js tinymce.init({ selector: "#editor", plugins: "blk42 fullscreen link", toolbar: "blocks | undo redo | bold italic | link unlink", apiKey: "BL42T4RRdemodemodemodemo", content_css: "https://democdn.com/styles/blk42-tailwind.css" }); ``` ## HTML ```html
``` ## CSS ```css body { padding: 20px 20px 20px 50px; background: white; } .wrap { max-width: 1650px; margin: 0 auto; } ``` --- # Blk42 demos in CKEditor 5 > Blk42 in CKEditor 5, live: a Bootstrap demo and a Tailwind CSS demo, each with the code of its page to copy or download as a ZIP. Source: https://blk42.com/docs/examples/ckeditor-5 Section: Examples > CKEditor 5 Two live demos of Blk42 in CKEditor 5, one for each CSS framework it supports. Build a column layout and edit inside its blocks; under each demo is the code of its page, to copy or to download as a ZIP. - [Bootstrap layout](https://blk42.com/docs/examples/ckeditor-5/bootstrap): Blk42 with Bootstrap: column layouts on the Bootstrap grid, and the blocks to edit inside them. - [Tailwind CSS layout](https://blk42.com/docs/examples/ckeditor-5/tailwind): Blk42 with Tailwind CSS: utility-class grids compiled in the browser, and the blocks inside them. --- # Bootstrap in CKEditor 5 > A live demo of Blk42 in CKEditor 5 with Bootstrap: build column layouts and edit inside the blocks, then copy the code or download the demo as a ZIP. Source: https://blk42.com/docs/examples/ckeditor-5/bootstrap Section: Examples > CKEditor 5 > Bootstrap ## When to use If you want to create a Bootstrap or Tailwind column structure right in CKEditor 5, edit the content inside, and save blocks as templates for further block-by-block content building, Blk42 CKEditor 5 plugin is what you need. ## How it works Blk42 installs as a CKEditor 5 plugin utilizing its official API. It adds a new toolbar below the content where you can see all the options of currently selected block. ## How to start using Install [CKEditor 5 plugin](https://blk42.com/docs/install/ckeditor-5) for that. See the link above to explore more options including NPM package, ready-to-use bundle, and CDN script. - [Download ZIP](https://codeplay.democdn.com/pens/blk42/ZYpdgOR/blk42-example-ckeditor-5-bootstrap.zip) - [Open in CodePlay](https://codeplay.democdn.com/blk42/ZYpdgOR) *The page shows these as tabs, one at a time: Live Demo, JavaScript, HTML, CSS.* ## Live Demo [Live demo: Bootstrap in CKEditor 5](https://run.codeplay.democdn.com/pens/blk42/ZYpdgOR/dist/index.html) ## JavaScript ```js CKEditor5WithBlk42.create( document.querySelector("#editor"), { apiKey: "BL42B5RRdemodemodemodemo", toolbar: [ 'heading', '|', 'undo', 'redo', '|', 'bold', 'italic', '|', 'link', 'unlink' ] } ).then(editor => { window.editor = editor; var s = document.createElement("style"); s.textContent = ".ck-content.ck-content{font-size:14px;color:#444;font-family:system-ui}"; document.head.appendChild(s); }).catch(error => { console.error("There was a problem initializing the editor.", error); }); ``` ## HTML ```html
``` ## CSS ```css body { padding: 20px 20px 20px 50px; background: white; } .wrap { max-width: 1650px; margin: 0 auto; } ``` --- # Tailwind in CKEditor 5 > A live demo of Blk42 in CKEditor 5 with Tailwind CSS: build column layouts and edit inside the blocks, then copy the code or download the demo as a ZIP. Source: https://blk42.com/docs/examples/ckeditor-5/tailwind Section: Examples > CKEditor 5 > Tailwind ## When to use If you need to build Tailwind CSS responsive layouts visually in CKEditor 5 — composing utility-first grids, saving reusable content blocks, and delivering production-ready Tailwind markup without a build pipeline — Blk42 CKEditor 5 plugin is the solution. ## How it works Blk42 integrates as a native CKEditor 5 plugin respecting its model-based architecture. It provides a dedicated toolbar below the content where you visually configure Tailwind flex containers, responsive breakpoints, and spacing utilities. The plugin auto-compiles required CSS and bundles it with the content output. ## How to start using Install [CKEditor 5 plugin](https://blk42.com/docs/install/ckeditor-5) for that. See the link above to explore more options including NPM package, ready-to-use bundle, and CDN script. - [Download ZIP](https://codeplay.democdn.com/pens/blk42/wBoGjwe/blk42-example-ckeditor-5-tailwind.zip) - [Open in CodePlay](https://codeplay.democdn.com/blk42/wBoGjwe) *The page shows these as tabs, one at a time: Live Demo, JavaScript, HTML, CSS.* ## Live Demo [Live demo: Tailwind in CKEditor 5](https://run.codeplay.democdn.com/pens/blk42/wBoGjwe/dist/index.html) ## JavaScript ```js CKEditor5WithBlk42.create( document.querySelector("#editor"), { apiKey: "BL42T4RRdemodemodemodemo", toolbar: [ 'heading', '|', 'undo', 'redo', '|', 'bold', 'italic', '|', 'link', 'unlink' ] } ).then(editor => { window.editor = editor; var s = document.createElement("style"); s.textContent = ".ck-content.ck-content{font-size:14px;color:#444;font-family:sans-serif}"; document.head.appendChild(s); }).catch(error => { console.error("There was a problem initializing the editor.", error); }); ``` ## HTML ```html
``` ## CSS ```css body { padding: 20px 20px 20px 50px; background: white; } .wrap { max-width: 1650px; margin: 0 auto; } ``` --- # Blk42 demos in CKEditor 4 > Blk42 in CKEditor 4, live: a Bootstrap demo and a Tailwind CSS demo, each with the code of its page to copy or download as a ZIP. Source: https://blk42.com/docs/examples/ckeditor-4 Section: Examples > CKEditor 4 Two live demos of Blk42 in CKEditor 4, one for each CSS framework it supports. Build a column layout and edit inside its blocks; under each demo is the code of its page, to copy or to download as a ZIP. - [Bootstrap layout](https://blk42.com/docs/examples/ckeditor-4/bootstrap): Blk42 with Bootstrap: column layouts on the Bootstrap grid, and the blocks to edit inside them. - [Tailwind CSS layout](https://blk42.com/docs/examples/ckeditor-4/tailwind): Blk42 with Tailwind CSS: utility-class grids compiled in the browser, and the blocks inside them. --- # Bootstrap in CKEditor 4 > A live demo of Blk42 in CKEditor 4 with Bootstrap: build column layouts and edit inside the blocks, then copy the code or download the demo as a ZIP. Source: https://blk42.com/docs/examples/ckeditor-4/bootstrap Section: Examples > CKEditor 4 > Bootstrap ## When to use If you want to create a Bootstrap or Tailwind column structure right in CKEditor 4, edit the content inside, and save blocks as templates for further block-by-block content building, Blk42 CKEditor 4 plugin is what you need. ## How it works Blk42 installs as a regular CKEditor 4 plugin utilizing its official API. It adds a new toolbar below the content where you can see all the options of currently selected block. ## How to start using Install [CKEditor 4 plugin](https://blk42.com/docs/install/ckeditor-4) for that. See the link above to explore more options including ready-to-use build of CKEditor 4 with Blk42 included and preconfigured. - [Download ZIP](https://codeplay.democdn.com/pens/blk42/xbEoPOY/blk42-example-ckeditor-4-bootstrap.zip) - [Open in CodePlay](https://codeplay.democdn.com/blk42/xbEoPOY) *The page shows these as tabs, one at a time: Live Demo, JavaScript, HTML, CSS.* ## Live Demo [Live demo: Bootstrap in CKEditor 4](https://run.codeplay.democdn.com/pens/blk42/xbEoPOY/dist/index.html) ## JavaScript ```js CKEDITOR.replace("editor", { language: "en", allowedContent: true, extraPlugins: "blk42", apiKey: "BL42B5RRdemodemodemodemo", skin: "n1theme", contentsCss: "https://democdn.com/styles/blk42-bootstrap.css", toolbar: [ ['Format', '-', 'Undo', 'Redo', '-', 'Bold', 'Italic', '-', 'Link', 'Unlink'] ] }); ``` ## HTML ```html
``` ## CSS ```css body { padding: 20px 20px 20px 50px; background: white; } .wrap { max-width: 1650px; margin: 0 auto; } ``` --- # Tailwind in CKEditor 4 > A live demo of Blk42 in CKEditor 4 with Tailwind CSS: build column layouts and edit inside the blocks, then copy the code or download the demo as a ZIP. Source: https://blk42.com/docs/examples/ckeditor-4/tailwind Section: Examples > CKEditor 4 > Tailwind ## When to use If you need to build Tailwind CSS responsive layouts visually in CKEditor 4 — constructing utility-first grids, saving content blocks as reusable components, and outputting production-ready Tailwind markup without a build step — Blk42 CKEditor 4 plugin is the solution. ## How it works Blk42 integrates as a standard CKEditor 4 plugin using the official API. It adds a dedicated toolbar below the content area where you visually configure Tailwind flex containers, responsive breakpoints, and spacing utilities for the selected block. CSS is auto-compiled and embedded with the content. ## How to start using Install [CKEditor 4 plugin](https://blk42.com/docs/install/ckeditor-4) for that. See the link above to explore more options including ready-to-use build of CKEditor 4 with Blk42 included and preconfigured. - [Download ZIP](https://codeplay.democdn.com/pens/blk42/QwGNrLa/blk42-example-ckeditor-4-tailwind.zip) - [Open in CodePlay](https://codeplay.democdn.com/blk42/QwGNrLa) *The page shows these as tabs, one at a time: Live Demo, JavaScript, HTML, CSS.* ## Live Demo [Live demo: Tailwind in CKEditor 4](https://run.codeplay.democdn.com/pens/blk42/QwGNrLa/dist/index.html) ## JavaScript ```js CKEDITOR.replace("editor", { language: "en", allowedContent: true, extraPlugins: "blk42", apiKey: "BL42T4RRdemodemodemodemo", skin: "n1theme", contentsCss: "https://democdn.com/styles/blk42-tailwind.css", toolbar: [ ['Format', '-', 'Undo', 'Redo', '-', 'Bold', 'Italic', '-', 'Link', 'Unlink'] ] }); ``` ## HTML ```html
``` ## CSS ```css body { padding: 20px 20px 20px 50px; background: white; } .wrap { max-width: 1650px; margin: 0 auto; } ``` --- # Licensing (Blk42) > How Blk42 licenses are counted: one license per final website, what counts as a website, aliases and subdomains, and when you need a SaaS license instead. Source: https://blk42.com/resources/licensing Blk42 is a plugin you add to TinyMCE or CKEditor on a website. The subscription is licensed **per final website** — the site your visitors open — not per editor instance, per developer, or per server. Prices are on the [Pricing](https://blk42.com/pricing) page. Every new account starts with a 7-day trial of all premium features. After that a website needs a Premium or a SaaS license to keep them; without one your pages still render exactly as before, because Blk42 writes plain Bootstrap or Tailwind markup into your own database — only the premium editing features stop. ## How many licenses do you need? As many as you have final websites. The admin panel where the editor runs is not counted separately: it belongs to the site whose content it edits. ## What counts as one website? **Separate domains are separate websites:** ```text example1.com example2.com ``` **A subdomain is a website too:** ```text en.example.com fr.example.com ``` **Even on one domain**, sites that are only separated by a path or a parameter are still separate websites: ```text example.com/site1/ example.com/site2/ example.com/sites/site1/ example.com/sites/site2/ example.com/pages?site=1 example.com/pages?site=2 ``` Each of those needs its own license. **An alias is not a second website.** When another domain serves the very same pages — a mirror, a legacy domain you keep alive, `www.example.com` next to `example.com` — it is one website and one license. What matters is the content, not the number of host names pointing at it. If you want a formal test: separate websites have one or more of these. - Different owners, teams or contact addresses - Different design - Menus and URLs that barely overlap, with few links between them - Isolated file and image storage - Their own block library Usually it is obvious. When it is not, ask us before you buy — write from your [Dashboard](https://blk42.com/dashboard), or use the **Let's talk** form on the [Pricing](https://blk42.com/pricing) page. ## One dashboard, many websites A CMS or a website builder often runs hundreds of sites from a single admin panel. The license follows the sites, not the panel: one license per final website. That is also what keeps them apart in practice — each website gets its own API key, and with it its own block library, framework settings and editor configuration, so one customer never sees another's blocks. ## When you need a SaaS license If the people editing content are **your customers** rather than your team, the per-website plan is the wrong shape. That is the case when you run a website builder, a portal or a multi-tenant CMS, or when Blk42 ships inside an application you sell. The SaaS license covers all of your customers' websites under one agreement: - priced per domain or per user, at a volume rate we agree on; - API keys created programmatically as customers sign up; - the same isolation as above — one key per customer website. [Let's talk](https://blk42.com/pricing) — tell us how many websites or users you expect, and we will come back with a quote. ## Users A user is a seat: one person editing, in one browser, on one device. The same employee on a laptop and on a phone counts as two. Seats matter mostly for SaaS agreements, where billing per user is often a better fit than billing per domain. One common mistake is to count the customers of a SaaS as users of a single website license. They are not — each customer site is a website of its own, and in a multi-tenant setup it needs its own API key so its content and block library stay isolated. ## Restrictions The license does not allow redistributing Blk42 or copying files from our CDN, decompiling it, or otherwise altering the product or bypassing its licensing checks. Blk42 is an add-on for TinyMCE and CKEditor: it works with those editors under whatever license you already hold for them. Company details and invoicing are on the [Contacts](https://blk42.com/resources/contacts) page, privacy and trademarks on the [Legal information](https://blk42.com/resources/legal) page. --- # Contacts (Blk42) > Blk42 is a product of EdSDK (Georgia), and PayPro Global, Inc. invoices purchases. Ask technical questions from your Dashboard, billing and legal ones here. Source: https://blk42.com/resources/contacts Blk42 (and all plugins from N1ED ecosystem) is a product of EdSDK company (Georgia), and in case of any purchases you will receive an invoice from PayPro Global, Inc., our authorized e-commerce reseller located at: 225 The East Mall, Suite 1117, Toronto, ON, M9B 0A9, Canada. PayPro Global is the seller of record: it charges and remits any VAT or sales tax due in your country, and the checkout shows that tax at its last step, before you pay. We will be glad to answer all your questions you may have while using a product or interacting with the website. ## Technical support - Provides assistance with migrating from other product - Provides solution to problems you may have while using Blk42 - Offers consulting regarding responsive layout of content - etc. All technical questions should be asked from your [Dashboard](https://blk42.com/dashboard). ## Billing & legal support - Helps to resolve billing issues - Explains licensing details and limitations - Offers access to partnership programs - Gives comments regarding personal data storage [Contact us](mailto:support@helpdesk.edsdk.com?subject=Blk42%20-%20billing%20or%20legal%20question) to ask the question. --- # Changelog > Every Blk42 release and what it changed: 2026.11 puts Blk42 into the one N1ED plugin for CKEditor 5, back to the first release, 2026.9 of Aug 29, 2026. Source: https://blk42.com/docs/changelog ## 2026.11 (Nov 15, 2026) - **CKEditor 5**: Blk42 is part of the one N1ED plugin, `@edsdk/n1ed-ckeditor5`. Your API key switches on the blocks, and `@edsdk/blk42-ckeditor5` keeps working as an alias ([install it](https://blk42.com/docs/install/ckeditor-5)). - **Images through your editor**: Blk42 uses the editor's own image upload and browse settings and comes without a file manager; blocks with a file manager and an image editor in one plugin are [N1ED](https://n1ed.com). Websites that have the File Manager add-on keep it and renew it. - The first characters typed into an empty editor keep the caret (Editor42, TinyMCE 8, CKEditor 5), and **Ctrl+Z** in CKEditor 5 leaves no empty block behind. - CKEditor 5: Blk42 keeps the HTML it did not create as it was written, a theme's own rows and wrappers included, and the Dashboard's custom CSS and JS load there too. - CKEditor 5: the page's own focus styles no longer frame the panel or the block you type in. - CKEditor 5's **Source** no longer shows the `widgets.js` tag that saving adds. - Built-in blocks: their icons keep their designed size on the saved page. - Saved blocks no longer carry the editor's own marks (the selection, `data-mce-src`). - Block previews show images placed behind the content and lazy-loaded images. - A block shared from another website is saved as a new block. - Dashboard: **Save** and **Undo** show only while the configuration differs from the saved one. - Dashboard: a child API key shows the configuration it inherits from its parent, read-only. - Dashboard: when it cannot load, it says so and offers **Try again** instead of logging you out, and a failed save keeps **Save** and **Undo** usable. - Dashboard: deleting a website takes it out of the block sharing rules of your other websites. - Dashboard: a block sharing rule that names a deleted website no longer breaks the **Blocks** tab, and **Delete rule** deletes the rule you clicked. - Dashboard: a website with the File Manager add-on has the image editor's settings too. - The **blk42.com website**: every documentation page has a **Copy page for AI** button, and the docs come for AI assistants as Markdown, `llms.txt` and an Agent Skill ([Use Blk42 with AI](https://blk42.com/docs/ai)). ## 2026.10 (Oct 18, 2026) - **One cloud for the N1ED family**: Blk42 now loads from `cloud.n1ed.com` and adds `cdn.n1ed.com/widgets.js` to new content. If your website sends a Content-Security-Policy, allow these two hosts. The `cloud.blk42.com` and `cdn.blk42.com` addresses keep working. - **Tailwind CSS 4.3**: the class autocompletion of the panel suggests the classes of the newer Tailwind versions, such as `text-shadow-*`, `mask-*`, `scrollbar-*` and `zoom-*`. - Tabs, accordions and Tailwind carousels in the blocks also work in content a page loads after it has opened, and a page can call `widgetsJs.refresh()` to set up new content at once. - CKEditor 5: the saved HTML no longer carries the editor's marks (`ck-widget`, `contenteditable`), and older content is cleaned on its next save. - CKEditor 5: the ids and the `data-*` and `aria-*` attributes of blocks, rows and columns are kept. - CKEditor 5: `widgets.js` is saved with the content when a form submits it, too. - CKEditor 5: a long toolbar folds into **Show more items** instead of running under **Show Grid** and **Fullscreen**. - CKEditor 5: a second editor on one page starts, and the star that saves a block works. ## 2026.9 — First release (Aug 29, 2026) ### Editor plugins - Plugins for Editor42, TinyMCE, CKEditor 4, and CKEditor 5 - Full support for Bootstrap 5, 4, 3 and Tailwind 4 grid structures - Visual editing of column widths and column order - Nested grid support for complex layouts - Structure highlighting in the editor - Responsive structure preview across breakpoints - Insert empty grids or ready-to-use blocks - Built-in gallery of handy pre-made blocks - Personal block library with auto-generated screenshots on save - Set backgrounds for blocks, rows, and columns - Custom classes, styles, and attributes editing - Enhanced full-screen editing mode ### Platform - [Dashboard](https://blk42.com/dashboard) for visual configuration of all settings - Parent-to-child configuration inheritance - Block sharing across websites - Automatic plugin updates - Multi-tenant support with centralized configuration for isolated websites - Full set of [CodePlay code samples](https://blk42.com/docs/examples) with live demos - Detailed documentation --- # Legal information (Blk42) > Legal information for Blk42: the trademarks of the editors it plugs into, TinyMCE and CKEditor, and how we process your personal data under the GDPR. Source: https://blk42.com/resources/legal ## 3rd party trademarks All product names, trademarks and registered trademarks are property of their respective owners. All company, product and service names used on this website are for identification purposes only, and their use does not imply endorsement. ![TinyMCE logo](https://blk42.com/img/integrations/tinymce5.png) TinyMCE is a trademark of Tiny Technologies, Inc. ![CKEditor logo](https://blk42.com/img/integrations/ckeditor-4.png) CKEditor is a trademark of CKSource Holding sp. z o.o. Blk42 is an add-on for TinyMCE and CKEditor. It works with these editors under whatever license you already hold for them. ## Privacy As a data controller we store and process your personal data in accordance with the **GDPR** (General Data Protection Regulation, EU law). We collect only the minimum needed to provide the service, and store it with GDPR-compliant data processors, with sensitive data encrypted. This website asks for personal information when you register for the service or complete a purchase — typically your name, e-mail address and billing details. **We never receive or store card data**: payments are handled by the authorized payment gateways of our reseller. We use this data to provide and administer the service, to support you, and to keep you informed about things related to your account. We do not sell your data, and we do not pass it to third parties without your consent, except where we are legally required to, or to the partners and agents that operate parts of the service on our behalf. This website uses cookies to keep you signed in to the [Dashboard](https://blk42.com/dashboard), and Google Analytics to count visits and see which pages get read. Google's advertising features — signals and ad personalization — are switched off on our websites, so its cookies stay first-party and are never used to build an advertising profile of you. To ask what we hold about you, or to have it corrected or deleted, [contact us](mailto:support@helpdesk.edsdk.com?subject=Blk42%20-%20personal%20data%20request).