calxibe:
When using:
var editor1 = document.getElementById('CE_Editor1_ID');
editor1.setHTML(document.getElementById('Content2').value);
The editor resets the EditorWysiwygModeCss, so that the new content don't get styles, the editor also becomes read only.
When using:
var editor1 = document.getElementById('CE_Editor1_ID');
editor1.setHTML(document.getElementById('Content2').value);
editor1.SetActiveTab('Code');
editor1.SetActiveTab('Edit');
The content uses the styles in the css file, and it isn't read only anymore.
But then another error appears, every time i click on the edior i get the JS error:
Please download and upgrade to version 6.6.
Keep me posted
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx