     # placeholder of the inputbox of query mode
     setPlaceholder: (content) ->
         content = _.escape content
-        @inputBox.editor.placeholderText = content
+        @inputBox[0].getModel().placeholderText = content
         return @
 
     clearContent: ->

                    @inputBox.hide()
                when OUTPUT
                    @show()
                    @content.show()
                    @inputBox.hide()
                when QUERY
                    @show()
                    @content.hide()
                    @inputBox.show()
                else

            @promise = Q.Promise (resolve, reject, notify) =>
                # confirm
                @on 'core:confirm', =>
                    log 'Panel', "queried string: #{@inputBox.getText()}"
                    @hide()
                    resolve @inputBox.getText()
        return @
