       @openDaumSpell()
     @on 'click', '.webview-apply', =>
       @applyCorrection()
-      
+    @webview.setAttribute("style", "height:100%;");
     @webview.addEventListener 'will-navigate', (e) =>
       # console.log event
       if e.url.startsWith('yo://')

  @content: (params) ->
    @div class: 'webview-pane', =>
      @div class: 'webview-buttons-container', =>
        @button class: 'webview-apply', style: 'border-radius: 0', '교정문적용'
      @div class:'webview-container', style: 'height: 100%', =>
        @tag 'webview'


    @webview.addEventListener 'dom-ready', () ->
      this.executeJavaScript "submit && submit(#{stringifyText})"
      # have to remove 
      this.executeJavaScript '$(".btn_examine").hide()'
    @webview.src = path.join( __dirname, '..', 'postText.html');
  
  applyCorrection: ->
