Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/editor/plugins/PrettyPrint.js

  • Provides:

    • dojox.editor.plugins.PrettyPrint
  • Requires:

    • dijit._editor._Plugin in common
    • dojox.html.format in common
  • dojox.editor.plugins.PrettyPrint

    • type
      Function
    • chains:
      • dijit._editor._Plugin: (prototype)
      • dijit._editor._Plugin: (call)
    • summary
      This plugin provides a mechanism by which to 'beautify HTML'
      generated by the editor.  It is by no means perfect.
  • dojox.editor.plugins.PrettyPrint.indentBy

    • type
      Number
  • dojox.editor.plugins.PrettyPrint.lineLength

    • type
      Number
  • dojox.editor.plugins.PrettyPrint.useDefaultCommand

    • type
      bool
  • dojox.editor.plugins.PrettyPrint.entityMap

    • type
      Object
  • dojox.editor.plugins.PrettyPrint._initButton

    • summary
      Over-ride for creation of the resize button.
    • type
      Function
  • dojox.editor.plugins.PrettyPrint.setToolbar

    • parameters:
      • toolbar
    • summary
      Over-ride to do nothing.
      We don't want to append a button, we take over getValue.
    • type
      Function
  • dojox.editor.plugins.PrettyPrint.setEditor

    • parameters:
      • editor
    • summary
      Over-ride to take over getValue of editor so that
      we can 'pretty' the output.
    • type
      Function
  • dojox.editor.plugins

    • type
      Object
  • dojox.editor

    • type
      Object
  • dojox

    • type
      Object