Articles / How to add the table plugin to redactor in CraftCMS 3
May 28. 2018 · by Helge Sverre

How to add the table plugin to redactor in CraftCMS 3

The redactor table plugin, which is used by content editors to create tables (duh), is not enabled by default in craft, but I find that it is useful to have available for impromptu pricing tables etc.

config/redactor/Standard.json
JSON
{
    "buttons": [
        "formatting",
        "bold",
        "italic",
        "unorderedlist",
        "orderedlist",
        "link",
        "image",
        "video"
    ],
    "plugins": [
        "fullscreen",
        "video",
        "table" // <--- add "table" to the plugins array
    ],    
    "toolbarFixed": true
}

Save the file and reload the admin panel, the table button should now be available in your editor.

References and links in this article

Helge Sverre Hessevik Liseth

Book 1:1 help from me on CodeMentor, get expert advice and help with CraftCMS, Flutter or Laravel.

Expertise
  • Flutter
  • CraftCMS
  • PHP
  • VueJS
Book session