LPS-36729 fix console error in Web Content Editor