Log in
Model

WysiwygDefaultConfig

Magento\Cms\Model\WysiwygDefaultConfig

What it does

This class serves as the default WYSIWYG editor configuration provider for Magento 2's CMS module.

Developers would use or extend this class when they need to customize the default configuration settings for WYSIWYG editors used in CMS pages, blocks, and other content areas.

It implements the ConfigProviderInterface and acts as a passthrough, returning the configuration object unchanged unless overridden.

Public Methods

  • getConfig()