WP Manifestindependent plugin directory
manifest / content / acf-simple-wysiwyg

Advanced Custom Fields: Simple Wysiwyg field

WordPress plugin which creates a new ACF Wysiwyg field type with very limited controls.

★ 1stars
236composer installs
2.1latest · 5 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/codelight-eu/acf-simple-wysiwyg/archive/refs/heads/master.zip

On Packagist as codelight-eu/acf-simple-wysiwyg:

composer require codelight-eu/acf-simple-wysiwyg
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WordPress plugin that creates a new ACF Wysiwyg field type with very limited controls - bold, italic, link and colors. Perfect for headings.

How it looks like

Screenshot 1

Why?

Sometimes you need a page heading with a fixed h1 tag, but with some styling - for example, a word that's bold or underlined or even a link. This field type allows doing that, but doesn't add paragraph tags and removes all unnecessary controls so your clients won't accidentally screw up the layout.

Shortcodes will still work, though.

Installation

composer require codelight-eu/acf-simple-wysiwyg

Where can I find the new field type

Screenshot 1

Can I change the tinyMCE controls?

Sure. Use the following filter: acf/fields/simple-wysiwyg/toolbars Looks like this in the code:

<?php
$toolbars = apply_filters('acf/fields/simple-wysiwyg/toolbars', [
    'Full' => [
        1 => apply_filters('mce_buttons', [
            'bold',
            'italic',
            'underline',
            'link',
            'unlink',
            'forecolor',
            'forecolorpicker',
            'pastetext',
            'removeformat',
        ], 'acf_content'),
    ]
]);

Releases

1 release.

Tag
Published
2.1 latest
Apr 27, 2021 5 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.