The plugin enables TinyMCE editor for post excerpt.
Make sure all dependencies have been installed before moving on:
Via Composer:
$ composer require helick/better-excerpt
Control supported post types:
add_filter('helick_better_excerpt_supported_post_types', function (array $postTypes) {
$postTypes[] = 'your-custom-post-type';
return $postTypes;
});
Control the editor settings:
add_filter('helick_better_excerpt_editor_settings', function (array $settings) {
$settings['media_buttons'] = true;
return $settings;
});
Control the editor buttons:
add_filter('helick_better_excerpt_editor_buttons', function (array $buttons) {
$buttons[] = 'alignleft';
$buttons[] = 'alignright';
$buttons[] = 'aligncenter';
return $buttons;
});
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email evgenii@helick.io instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.