Log in
Model

Config

Magento\Cms\Model\Wysiwyg\Config

What it does

This class manages the configuration for Magento 2's WYSIWYG (What You See Is What You Get) editor used in CMS pages and blocks.

Developers use it to check if the visual editor is enabled, get editor settings like toolbar options, file browser URLs, and widget/variable configurations.

It's commonly used when rendering admin forms that include rich text editing capabilities.

Public Methods

  • getConfig()
  • getSkinImagePlaceholderPath()
  • isEnabled()
  • isHidden()