   insert_class_attribute: ->
     if @cursor_inside_html_tag()
       @insert_attribute('class')
+    else if @cursor_inside_jsx_html_tag()
+      @insert_attribute('className')
     else
       event.abortKeyBinding()
 

  # Insert ID attribute method
  ###
  insert_id_attribute: ->
    if @cursor_inside_html_tag()
      @insert_attribute('id')
    else
      event.abortKeyBinding()


    # Get editor
    editor = atom.workspace.getActiveTextEditor()
    if !editor then return false

    # Get cursor
    if editor.cursors then cursor = editor.cursors[0] else return false
