initialize markeditor components