Skip to content

diogoterremoto/ACF-Markdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;
} );

About

Markdown-enhanced ACF textarea

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 73.6%
  • JavaScript 26.4%