This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.



A wordpress plugin to automatically resize and improve upon wysiwyg and textarea fields in Advanced Custom Fields.


  • Automatically resize wysiwyg and textarea fields in ACF groups
  • Add data-wysiwyg-slug='my-wysiwyg-field' to the body in tinymce iframes, so you can style those iframe’s contents using editor-styles.


  • Currently does not work on fields inside of ACF Gutenberg Blocks.


  • Install and activate like any other wordpress plugin
  • [data-wysiwyg-slug] is added to every wysiwyg field!
  • The plugin is enabled by default on all textareas and wysiwyg fields. You can disable it by adding the class no-autosize to a field.
  • You can set the the default behaviour to false via the acf-autosize/enabledByDefault-filter. After that you can reenable single fields by adding the class autosize.
  • Set min-height of WYSIWYG-fields via acf-autosize/wysiwyg/min-height-filter.
  • The plugin can be enabled in the frontend via acf-autosize/enabledInFrontend-filter.


acf-autosize-mu.php is a single-file drop-in version of acf-autosize for usage in your theme or mu-plugins. It contains the javascript and is autogenerated!


Check out the source code on Github!

انسٹال کرݨ

Install and activate like any other wordpress plugin


مئی 13, 2022
I am using the single-file drop-in version of acf-autosize with Code Snippets and changed the min-size to 100. Works perfectly and makes my custom post forms look m lot better.
ستمبر 23, 2021
As stated in the title. This option should be incuded in the core. But it is not and at least we are fortunate enough to have this plugin. Also the developer is very responsive and willing to help and improve the plugin. I suggested a feature to enable autosize also on the frontend and he delivered it in several of days.
مئی 29, 2021
Does exactly what it says, the full content is always shown in each WYSIWYG box, and the min-height can be reduced with the 'acf-autosize/wysiwyg/min-height' filter. Thanks for making this 🙂
سارے 17 ریویو پڑھو

Contributors & Developers

“acf-autosize” is open source software. The following people have contributed to this plugin.

حصہ پاوݨ آلے

“acf-autosize” دا آپݨی زبان وچ ترجمہ کرو۔

ڈیویلپمنٹ وچ دلچسپی ہے؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

تبدیلی لاگ


  • tested with WP 5.9


  • move from gulp to webpack


  • Enable plugin in frontend via filter


  • Disable autosize on fullscreen editors
  • Dependency Updates and 5.8.1 compability tests


  • Updated legacy acf functions


  • Dependency Updates and 5.7.1 compability tests


  • Fix: make it work with acf 5.9.0

2.0.3 – 2.0.5

  • Problems with svn deployment


  • Fix: resize when repeater / flex / tabs are uncollapsed


  • Enable by default
  • Add acf-autosize/enabledByDefault-filter to enable the inverse behaviour (as in pre 2.0.0)
  • when enabled by default single fields can be disabled by adding no-autosize


  • Fix initialisation on textareas inside repeater or flexcontent fields
  • Make sure prefilled textareas are autosized on initial pageload


  • Add acf-autosize/wysiwyg/min-height-filter to set min-height of wysiwyg-fields
  • Update dependencies to fix security issues


  • Fix issue with WordPress 5.0 and Gutenberg


  • Fix safari issue with position:sticky by externalizing css and adding autoprefixer


  • Make tinymce toolbars sticky
  • Fix bug with double plugin activation


  • Fix README


  • Better documentation
  • Added tinymce iframe>body[data-wysiwyg-slug] feature


  • Added banner and icons


  • First release