       ![Medium](#{@state.asset.medium.url} "Optional title")
       ![Small](#{@state.asset.small.url}   "Optional title")
     """
-    <textarea value={markdown} readOnly />
+    <textarea value={markdown} readOnly className="markdown" />
 
   renderUploadBtn: ->
     return unless @state.imageData and not @state.progress


  uploadImage: ->
    return unless @state.file
    number = ExerciseStore.getNumber(@props.exerciseId)
    api.uploadExerciseImage(number, @state.file, @updateUploadStatus)
    @setState(progress: 0)


    exerciseId: React.PropTypes.string

  getInitialState: ->
    ex = ExerciseStore.get(@props.exerciseId)
    # TODO: Maybe we want to support multiple?
    # If so this component should be passed the asset to update
    {asset: _.first(ex.attachments)?.asset}

  updateUploadStatus: (status) ->
    if status.error
