Add borders to columns or paragraph blocks

[ad_1]

Is it possible to add borders to columns, paragraphs with the EditorsKit plugin? We are using your plugin, but we do not see that option yet. We can active borders in the theme

function dh_block_padding_margin_theme_support( $editor_settings, $editor_context ) {
    if ( ! empty( $editor_context->post ) ) {
        // $editor_settings["enableCustomSpacing"] = true;
		$editor_settings["__experimentalFeatures"]["spacing"]["margin"] = true;
		$editor_settings["__experimentalFeatures"]["border"]["color"] = true;
		$editor_settings["__experimentalFeatures"]["border"]["style"] = true;
		$editor_settings["__experimentalFeatures"]["border"]["width"] = true;
		}
		return $editor_settings;
}
 
add_filter( 'block_editor_settings_all', 'dh_block_padding_margin_theme_support', 10, 2 );

But that is all experimental so we prefer to use what we have including your plugin.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer