Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/codelight-eu/tinymce-button-button/archive/refs/heads/master.zipOn Packagist as codelight/tinymce-button-button:
composer require codelight/tinymce-button-buttonNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WordPress TinyMCE Button Button
Add buttons to your TinyMCE editor. The "buttons" are actually just link tags with CSS classes you can define.
Installation
Via Composer:
composer require codelight/tinymce-button-button
Alternatively, download and install as a WordPress plugin.
Note that v2 of this plugin will only be released as a composer package.
Usage
Register different button styles using the following filter:
Every element in the $buttons array will create a new selectable button style.
The text parameter is displayed to the user when selecting button styles. The value parameter is used as the link class.