erMode.rmContent);
    elPreviewerContent.innerHTML = renderer.html(text);
}

function renderGnav(text) {
    renderer.setMode(RendererMode.rmGnav | RendererMode.rmContent);
    elGnavContent.innerHTML = renderer.html(text);
}

renderArticle(articleText);
renderGnav(gnavText);
setEditMode(EditMode.emContainer);
setUpdateMode(UpdateMode.umReady);
//cancelLeftClick();
codemirror.on('change', function (codemirror, change) {
    if (isEditArticle()) {
        renderArticlePriviewer(codemirror.getDoc().getValue(