Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #192207

    Hello.

    I am wondering if there is a way to disable to default editor so that the layout builder is the only option when creating a page?

    Thanks in advance!

    #192208

    Update. Actually I may have figured half the problem out…

    Wordpress has a built in feature for this exact issue.

    function remove_editor() {
    remove_post_type_support(‘page’, ‘editor’);
    }
    add_action(‘admin_init’, ‘remove_editor’);

    … This is almost a perfect solution however, now when I create a new page, the button is still there but the editor is not. So what I am left with is a blank space and I have to click the layout builder button for it to appear.

    Anyone know of a way to make the builder default as the first choice?

    #192846

    Hey!

    I marked this thread for Kriesi. Personally I’m not aware of an easy solution to complete deactivate the default editor but maybe Kriesi can provide some tips.

    Regards,
    Peter

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Disable Default Editor’ is closed to new replies.