         @edit_buttons = @element.find(".salvus-editor-html-md-buttons")
         @edit_buttons.show()
         @preview = @element.find(".salvus-editor-html-md-preview")
-
         # initialize the codemirror editor
         @source_editor = codemirror_session_editor(@editor, @filename, @opts)
         @element.find(".salvus-editor-html-md-source-editor").append(@source_editor.element)


        init_background_color_control()
        ###

    click_save_button: () =>
        @save()


    init_buttons: () =>
        @element.find("a").tooltip(delay:{ show: 500, hide: 100 } )
        @element.find("a[href=#save]").click(@click_save_button)
        @print_button = @element.find("a[href=#print]").show().click(@print)
        @init_edit_buttons()

    command: (cm, cmd, args) =>
