Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 813 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 813 Bytes

ACF Markdown Field

Markdown-enhanced ACF textarea.

Works with repeaters and even frontend forms using Advanced Forms.

Uses

Requires:

  • PHP >=5.4
  • Composer
  • ACF v5

Installation

composer require nichestudio/acf-markdown

Customise Editor

Override the Inscryb editor options:

acf.add_filter( 'niche_markdown/inscrybmde_args', function ( args, field ) {

	if ( field.o.id === 'field_xxxx' ) {
		args[ 'placeholder' ] = 'Enter your content using Markdown';
	}

	return args;
} );