Hi @maestro2012
We’re sorry to hear about the compatibility issue you encountered.
Could you please share a screen recording of the issue you’re seeing so we can take a look?
Also, could you please let us know if your Popup Maker plugin is updated to the latest 1.25.0 version?
The latest version includes this fix: “Restored WPBakery Page Builder editing for popups when the block editor is enabled in Popup Maker.” See here: https://wordpress.org/plugins/popup-maker/#developers
You can send us a message here if you wish to share it privately.
We look forward to your reply.
@maestro2012 – We found a likely cause. WPBakery normally prints the CSS associated with the page or post being viewed. A Popup Maker popup is a separate document rendered outside that normal page/post loop, so its saved WPBakery styles may never be printed. We’re testing a fix that explicitly loads the popup document’s CSS. Could you try the temporary snippet above, clear your page cache, and let us know whether the Text Block formatting returns? You can deactivate the snippet afterward.
add_filter( 'pum_popup_content', function ( $content, $popup_id ) {
if (
! defined( 'WPB_VC_VERSION' ) ||
! is_string( $content ) ||
! is_numeric( $popup_id ) ||
! class_exists( 'Vc_Manager' )
) {
return $content;
}
$popup_id = absint( $popup_id );
if (
'popup' !== get_post_type( $popup_id ) ||
'true' !== get_post_meta( $popup_id, '_wpb_vc_js_status', true )
) {
return $content;
}
$buffer_level = ob_get_level();
ob_start();
try {
$manager = Vc_Manager::getInstance();
$vc = is_object( $manager ) && method_exists( $manager, 'vc' )
? $manager->vc()
: null;
if ( function_exists( 'vc_modules_manager' ) ) {
$modules = vc_modules_manager();
$module = is_object( $modules ) && method_exists( $modules, 'get_module' )
? $modules->get_module( 'vc-custom-css' )
: null;
} else {
$module = null;
}
if ( is_object( $module ) && method_exists( $module, 'output_custom_css_to_page' ) ) {
$module->output_custom_css_to_page( $popup_id );
} elseif ( is_object( $vc ) && method_exists( $vc, 'addPageCustomCss' ) ) {
$vc->addPageCustomCss( $popup_id );
}
if ( is_object( $vc ) && method_exists( $vc, 'addShortcodesCss' ) ) {
$vc->addShortcodesCss( $popup_id );
} elseif ( is_object( $vc ) && method_exists( $vc, 'addShortcodesCustomCss' ) ) {
$vc->addShortcodesCustomCss( $popup_id );
}
$styles = ob_get_clean();
} catch ( Throwable $error ) {
while ( ob_get_level() > $buffer_level ) {
ob_end_clean();
}
return $content;
}
return $styles . $content;
}, 12, 2 );
-
This reply was modified 5 days, 16 hours ago by
Daniel Iser.