This is a simple ACF Field that moves the WordPress content editor of a post or page to the location of this field.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist Initial commit Sep 13, 2017
fields Initial commit Sep 13, 2017
resources Initial commit Sep 13, 2017
.editorconfig Initial commit Sep 13, 2017
.gitignore Initial commit Sep 13, 2017
README.md Update README.md Sep 13, 2018
acf-move-wp-editor.php Initial commit Sep 13, 2017
composer.json Initial commit Sep 13, 2017
composer.lock Initial commit Sep 13, 2017
package.json Initial commit Sep 13, 2017
webpack.mix.js Initial commit Sep 13, 2017
yarn.lock Initial commit Sep 13, 2017

README.md

ACF Move WP Editor

Packagist Packagist Downloads

This is a simple ACF Field that moves the WordPress content editor of a post or page to the location of this field.

This can be useful for cleaning up your Edit Post screen with something like ACF tabs:

Example

Installation

Install ACF Move WP Editor using Composer:

$ composer require log1x/acf-move-wp-editor

Recommended Filters

The filters below remove the TinyMCE editor feature that expands its container to the height of the content as well as removes the option from the Help menu.

/**
 * Unregister the editor expand script.
 *
 * @return void
 */
add_action('admin_init', function () {
    wp_deregister_script('editor-expand');
});

/**
 * Disable TinyMCE's autoresize.
 *
 * @param  array $init
 * @return array
 */
add_filter('tiny_mce_before_init', function ($init) {
    unset($init['wp_autoresize_on']);
    return $init;
});