Changes for mdeditor