the Code Syntax Block WordPress plugin hasn’t been updated in a while and isn’t fully compatible with WordPress 6.5 ..adding the function below to the end of the plugin’s index.php file seems to fix it..

// replace br tags with new line characters (to fix PrismJS styled code blocks)
function replace_new_line_character( $block_content ) {
    $block_content = str_replace( '<br>', "\n", $block_content );
    return $block_content;
}
add_filter( 'render_block_core/code', 'replace_new_line_character' );
View Post

WordPress 6.4 added an “Expand on click” feature to image blocks.. ..here is how i added styles for it to my themes..

/* image wp-lightbox-overlay styles */
.wp-lightbox-overlay .scrim {
	background-color: rgba(0,0,0,0.9) !important;
}
.wp-lightbox-overlay .close-button {
	border: 1px solid #fff !important;
	background-color: #fff !important;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.wp-lightbox-overlay .close-button:hover,
.wp-lightbox-overlay .close-button:focus {
	border: 1px solid #ddd !important;
	background-color: #ddd !important;
	outline: none;
}
View Post