I believe you need to modify your xforms.js. In
the init section you will need to add 2 lines.
Please see below. On my server I had to re-start alfresco, and clear out my browser cache the first time, but a change to something else in the xforms.js showed
up when I re-edited the page.
So you may need to restart alfresco if it does not show up for you.
The 2 lines to add are:
apply_source_formatting: true,
remove_linebreaks: false,
– Sample –
tinyMCE.init({
theme: "advanced",
mode: "exact",
width: -1,
auto_resize: false,
… Add These 2 lines.
apply_source_formatting: true,
remove_linebreaks: false,
The rest of that section for me is fairly basic:
force_p_newlines: false,
encoding: "UTF-8",
add_unload_trigger: false,
add_form_submit_trigger: false,
theme_advanced_toolbar_location: "top",
theme_advanced_toolbar_align: "left",
theme_advanced_buttons1: "bold,italic,code",
theme_advanced_buttons2:
"link,unlink,image,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,separator,undo,redo,separator,forecolor,backcolor",
theme_advanced_buttons3: ""