mindkomm/theme-lib-backend-editor

Opinionated editor improvements for WordPress themes (pre Gutenberg)

Installs: 499

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

pkg:composer/mindkomm/theme-lib-backend-editor

1.0.0 2018-02-13 09:30 UTC

This package is auto-updated.

Last update: 2025-10-05 07:21:27 UTC


README

Opinionated editor improvements for WordPress themes (pre Gutenberg).

  • Updates TinyMCE settings:
    • Strips formatting from pasted text
    • Set default block formats: Paragraph, Heading 2 and Heading 3
    • Use custom indentation of 40px.
  • Merges the two rows of buttons into one. Removes all buttons we think are not needed.
  • Adds a CSS class .contentImage to images inserted into the content editor.

Installation

You can install the package via Composer:

composer require mindkomm/theme-lib-backend-editor

Usage

functions.php

$editor = new Theme\Backend\Editor();
$editor->init();

Support

This is a library that we use at MIND to develop WordPress themes. You’re free to use it, but currently, we don’t provide any support.