Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using EditorsKit Utility Classes Filter
* Add Support for EditorsKit Plugin
* @package Jarvis
* @subpackage EditorsKit
* @author Jeffrey Carandang <>
* @link
* @license GNU Public License
* Add classname suggestions
* @param array $classes default classnames
* @return array Add theme utility classes
function editorskit_jarvis_classnames( $classes ){
$theme_classes = array(
$classes = array_merge( $classes, $theme_classes );
return $classes;
add_filter( 'editorskit_block_editor_classnames', 'editorskit_jarvis_classnames', 10, 3 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.