QuestionQ31

Working with Databases and EAV

An Adobe Commerce developer wants to programmatically create a product EAV attribute that should display as WYSIWYG in the Admin panel. They have ensured that wysiwyg_enabled is set to true; however, the attribute is not displaying as WYSIWYG in the Admin panel.

What could be a possible reason?

  • A The is_html_allowed_on_front option is set to false.
  • B The input type is not set to text.
  • C The input type is not set to textarea.
Explanation

A product attribute must use the textarea input type for WYSIWYG formatting to be available. The wysiwyg_enabled setting does not make a non-textarea attribute render as a WYSIWYG editor.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!