4

how can i easily stop empty elements from being removed by the CMS WYSIWYG editor? it seems that changing the code is a very cumbersome way

Yehuda Schwartz
  • 1,152
  • 3
  • 14
  • 33

1 Answers1

5

add <div>&zwj;</div> inside your empty element (div, p, a, span, h1, h2, ect..) to stop magento cms from removing them

Yehuda Schwartz
  • 1,152
  • 3
  • 14
  • 33