                 wysiwyg_editor.showing = @props.editor_key
                 save wysiwyg_editor
 
-              onBlur: close_if_nothing_in_menu_focused
+              # This was causing problems with erroneously closing menu just before it got clicked.
+              # I don't know why it is here and things seem to work without it, except that in 
+              # some wysiwyg editors, the menu won't disappear after first appearing.
+              # onBlur: close_if_nothing_in_menu_focused
 
               style: @props.style
 

      else

        DIV null,

          Dock
            dock_on_zoomed_screens: true

                      marginBottom: 4
                    title: button.title
                    value: if button.value then button.value 
                    onClick: button.onClick

                    onFocus: (e) => 
                      @local.focused_toolbar_item = idx; 
                      save @local
