I can't find an option to enable a button in TinyMCE that would display pre-formatted code. How can I achieve this?
Thanks.

Comments

sun’s picture

Status: Active » Fixed

CODE is a HTML block format and can thus be enabled in the HTML block format configuration setting.

roball’s picture

Thank you Daniel - the HTML block format option Preformatted was exactly what I was looking for.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.