PHP code example of codelight-eu / acf-simple-wysiwyg
1. Go to this page and download the library: Download codelight-eu/acf-simple-wysiwyg library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
codelight-eu / acf-simple-wysiwyg example snippets
$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'),
]
]);