With the new Tinymce 4 used in SS4, there is that annoying “You are now in paste mode yadda yadda” message that appears whenever you click on the Plaintext Paste button.
Although it disappears when you close it, it reappears whenever there is a page load and you click the paste button again; none of my clients are thrilled by this.
There is an easy way to disable this, in your _config.php, add in the following code:
use SilverStripe\Forms\HTMLEditor\TinyMCEConfig;
call_user_func(function () {
$config = TinyMCEConfig::get('cms');
$config->setOption('paste_plaintext_inform', false);
});
And watch your clients thank you for this!