       @$("input[name=externalCSS]").val(externalCSS)
       @$("input[name=externalJS]").val(externalJS)
 
-
-
-
-
     if @HTMLace?.editor? and @CSSace?.editor? and @JSace?.editor?
       fillForm()
     else

    @addCustomData "codeHTML", Encoder.htmlEncode @HTMLace.getContents()
    @addCustomData "codeCSS", Encoder.htmlEncode @CSSace.getContents()
    @addCustomData "codeJS", Encoder.htmlEncode @JSace.getContents()
    @once "FormValidationPassed", => @reset()
    super


    @tagController.setDefaultValue tags or []

    fillForm = =>
      @HTMLace.setContents Encoder.htmlDecode HTMLcontent
      @CSSace.setContents Encoder.htmlDecode CSScontent
      @JSace.setContents Encoder.htmlDecode JScontent

      if prefixCSS is "on"
        @$("input[name=prefixCSSCheck]").prop "checked", true
      else
        @$("input[name=prefixCSSCheck]").prop "checked", false

      if modernizeJS is "on"
        @$("input[name=modernizeJSCheck]").prop "checked", true
      else
        @$("input[name=modernizeJSCheck]").prop "checked", false

      @$(":radio[value=#{resetsCSS}]").prop "checked", true

      @$("select[name=modeHTML]").val(modeHTML).trigger "change"
      @$("select[name=modeCSS]").val(modeCSS).trigger "change"
      @$("select[name=modeJS]").val(modeJS).trigger "change"

      @$("select[name=libsJS]").val(libsJS).trigger "change"

      @$("input[name=classesHTML]").val(classesHTML)
      @$("input[name=extrasHTML]").val(extrasHTML)
      @$("input[name=externalCSS]").val(externalCSS)
      @$("input[name=externalJS]").val(externalJS)

    if @HTMLace?.editor? and @CSSace?.editor? and @JSace?.editor?
      fillForm()
