   setDomElement:(CssClass="")->
     super CssClass
 
-    # basically, here we can add aynthing like modals, overlays and the liek
-
     @$().after """
       <div class='input_preview preview-#{@options.preview.language}'>
         <div class="preview_content"><span class="data"></span></div>


  viewAppended:->
    super

    unless @showPreview
      @$("div.preview_content").addClass "hidden"

    @$("label").on "click",=>
      @$("input.checkbox").get(0).click()


    # hotfix for random display:none that can sometimes come up
    @utils.wait  =>
      @$("span.data").css display:"block"

    if @options.preview.mirrorScroll then @$().scroll (event)=>
      @setPreviewScrollPercentage @getEditScrollPercentage()
