         @generatePreview()
       yes
 
-    super options,data
+    super options, data
 
     @setClass "kdinputwithpreview"
 
     @showPreview = options.preview.showInitially or no
 
     @previewOnOffLabel = new KDLabelView
-      cssClass      : "preview_switch_label"
+      cssClass      : "preview_switch_label unselectable"
       title         : "Preview"
       tooltip       :
         title       : "Show/hide the Text Preview Box"

      if @options.preview.language is "markdown"
        @$("div.preview_content span.data").html @utils.applyMarkdown @getValue()
        @$("div.preview_content span.data pre").each (i,element)=>
          hljs.highlightBlock element
  setPreviewScrollPercentage:(percentage)->
    s = @$("div.preview_content")
    s.animate
     scrollTop : ((s[0].scrollHeight - s.height()) * percentage / 100)
    , 50, "linear"

  setDomElement:(cssClass="")->
