Skip to content

HTML source is displayed with WYSIWYG

Question:
Whenever I use the WYSIWYG editor in my grid, any HTML formatting, such as bold, shows the actual tag once the grid is saved. Is there a way to show the HTML on the grid?

Solution:
The "autoencode" property is now set to true by default to prevent potential XSS attacks. You can turn off  this way at your own risk.

$dg->autoencode = false;

Feedback and Knowledge Base