Hi,
i found your fiddle example that it is possible to set the editor in html source view mode after creation.
However, if I assign content using val it will switch back into html view.
$('#editor').jqxEditor({
height: 400,
width: 800,
theme: 'energyblue'
});
$('#editor').jqxEditor('setMode', true);
$('#editor').val('<div>Line1<br/>Line2</div>');
Though it is possible to call setMode after val , it would be important for me to display it as plain text from the beginning as my html snippets contain javascript code which the editor seems to try to interpret and I get javascript errors.
thanks for your answer,
Matt