આ પલ્ગઇન 2 વર્ષથી વધુમાં અપડેટ કરવામાં આવ્યો નથી . એ કદાચ જાળવવામાં અથવા સપોર્ટેડ નહી હોય. વર્ડપ્રેસ ના વધુ તાજેતરનાં સંસ્કરણો સાથે ઉપયોગમાં લેવાય તો સુસંગતતા મુદ્દાઓ હોઈ શકે છે.

ACF Autosize

વર્ણન

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

Features

  • 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.

Limitations

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

Usage

  • 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.

mu-plugin

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!

Development

Check out the source code on Github!

સ્થાપન

Install and activate like any other wordpress plugin

સમીક્ષાઓ

ઓગસ્ટ 17, 2023
I used ACF Pro for the first time today and within 15 minutes I had made myself a repeater field and encountered this problem. Bonkers that this isn’t baked into such an expensive product.
એપ્રિલ 4, 2023
Still works and does exactly what you want it to do. Definitely a gold 5 star experience!
મે 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.
જાન્યુઆરી 11, 2022
Works just as intended, nothing to complain about !
20 સમીક્ષાઓ વાંચો

ફાળો આપનાર & ડેવલપર્સ

આ ઓપન સોર્સ સોફ્ટવેર છે. નીચેના લોકો એ આ પ્લગિન માટે ફાળો આપ્યો છે.

ફાળો આપનારા

ચેન્જલૉગ

2.0.15

  • tested with WP 5.9

2.0.14

  • move from gulp to webpack

2.0.12

  • Enable plugin in frontend via filter

2.0.10

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

2.0.9

  • Updated legacy acf functions

2.0.8

  • Dependency Updates and 5.7.1 compability tests

2.0.7

  • Fix: make it work with acf 5.9.0

2.0.3 – 2.0.5

  • Problems with svn deployment

2.0.2

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

2.0.0

  • 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

1.3.3

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

1.3.0

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

1.2.3

  • Fix issue with WordPress 5.0 and Gutenberg

1.1.2

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

1.1.0–1.1.1

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

1.0.4

  • Fix README

1.0.3

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

1.0.2

  • Added banner and icons

1.0.1

  • First release