By wim leers on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.1.x
Introduced in version:
8.1.0-BETA1
Issue links:
Description:
Added CKEditorPluginManager::getEnabledButtons(Editor $editor). Given an Editor config entity using CKEditor, it returns all buttons enabled for this CKEditor instance.
This is useful to perform conditional logic that depends on whether a certain button is enabled. For example, add CSS to be loaded in a CKEditor iframe instance in hook_ckeditor_css_alter() if a certain button is enabled.
Impacts:
Module developers