public void SetTheme(string wysiwygHTML) { // We need to track the wysiwygHTML and previewHTML so that we can use it in the Load() function // where we have to call Initialize again which requires the theme to be passed in _wysiwygHTML = wysiwygHTML; _previewHTML = null; contentEditor.SetTheme(_wysiwygHTML, null, false); }