SOLVED:
/oc-admin/pages.php
Line 60 is: $postParams = Params::getParamsAsArray();
If you add params false,false, you can use H1, H2 .... tags in TinyMCE editor (only Pages in Admin panel are affected)
$postParams = Params::getParamsAsArray(false,false); /* false, false becasue of H1 tags for pages */
Thank you.
Wanted to add for reference:
oc-admin/pages.php
case 'edit_post':
from: $postParams = Params::getParamsAsArray();
to: $postParams = Params::getParamsAsArray(false, false);
case 'add_post':
from: $postParams = Params::getParamsAsArray();
to: $postParams = Params::getParamsAsArray(false, false);
This now allows all inline styles as well as tags to be inserted into the database whether creating or editing a page.
false, false means you are bypassing:
stripslashes()
htmlspecialchars()
Cross-site scripting check
This shouldn't be an issue for the admin side, but do not use this for the public side description field.