答案 0 :(得分:1)
是,将wordpress升级到版本5或更高版本的屏幕截图作为默认截图,默认情况下使用Guttenberg编辑器。不过,您可以在plugin下面添加内容,这将帮助您获得原样的屏幕
答案 1 :(得分:0)
这对我有用:
<?php
/**
* Plugin Name: Block Editor Full Width
* Description: Fix the block editor width to full size
*/
add_action('admin_head', 'block_editor_full_width');
function block_editor_full_width() {
echo '<style>
.wp-block {
width: 100% !important;
max-width: none !important;}
.editor-styles-wrapper .editor-writing-flow {
max-width: none !important;
margin: 0 !important;}
}
</style>';
}