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/InsertAnchor.js

  • Provides:

    • dojox.editor.plugins.InsertAnchor
  • Requires:

    • dojo.string in common
    • dijit._Widget in common
    • dijit._editor.range in common
    • dijit._Templated in common
    • dijit.TooltipDialog in common
    • dijit.form.ValidationTextBox in common
    • dijit.form.Select in common
    • dijit._editor._Plugin in common
    • dijit.form.Button in common
    • dojox.editor.plugins.ToolbarLineBreak in common
    • dojo.i18n in common
  • dojox.editor.plugins.InsertAnchor

    • type
      Function
    • chains:
      • dijit._editor._Plugin: (prototype)
      • dijit._editor._Plugin: (call)
    • summary
      This plugin provides the basis for an insert anchor dialog for the
      dijit.Editor
    • description
      The command provided by this plugin is:
      * insertAnchor
  • dojox.editor.plugins.InsertAnchor.htmlTemplate

    • tags:
    • type
      String
    • summary
      String used for templating the HTML to insert at the desired point.
  • dojox.editor.plugins.InsertAnchor.iconClassPrefix

    • tags: const
    • type
      String
    • summary
      The CSS class name for the button node icon.
  • dojox.editor.plugins.InsertAnchor._template

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

    • type
      Function
  • dojox.editor.plugins.InsertAnchor.dropDown

    • type
      Object
  • dojox.editor.plugins.InsertAnchor.button

    • type
      Object
  • dojox.editor.plugins.InsertAnchor._uniqueId

  • dojox.editor.plugins.InsertAnchor._anchorInput

    • type
      Object
  • dojox.editor.plugins.InsertAnchor._textInput

    • type
      Object
  • dojox.editor.plugins.InsertAnchor._setButton

    • type
      Object
  • dojox.editor.plugins.InsertAnchor.updateState

    • summary
      Over-ride for button state control for disabled to work.
    • type
      Function
  • dojox.editor.plugins.InsertAnchor.setEditor

    • parameters:
      • editor: (typeof Object)
        The editor to configure for this plugin to use.
    • summary
      Over-ride for the setting of the editor.
    • type
      Function
  • dojox.editor.plugins.InsertAnchor.editor

  • dojox.editor.plugins.InsertAnchor.setEditor.editor

    • type
      Object
    • summary
      The editor to configure for this plugin to use.
  • dojox.editor.plugins.InsertAnchor._checkInput

    • summary
      Function to check the input to the dialog is valid
      and enable/disable set button
    • tags:
    • type
      Function
  • dojox.editor.plugins.InsertAnchor._setup

    • summary
      Over-ridable function that connects tag specific events.
    • type
      Function
  • dojox.editor.plugins.InsertAnchor.getAnchorStyle

    • summary
      Over-ridable function for getting the style to apply to the anchor.
      The default is a dashed border with an anchor symbol.
    • tags: public
    • type
      Function
  • dojox.editor.plugins.InsertAnchor._applyStyles

    • summary
      Function to apply a style to inserted anchor tags so that
      they are obviously anchors.
    • type
      Function
  • dojox.editor.plugins.InsertAnchor._styled

    • type
      Object
  • dojox.editor.plugins.InsertAnchor.editor.document

  • dojox.editor.plugins.InsertAnchor._calcBaseUrl

    • parameters:
      • fullUrl: (typeof String)
        The full url to tear down to the base.
    • returns
      String
    • summary
      Internal function used to figure out the full root url (no relatives)
      for loading images in the styles in the iframe.
    • tags:
    • type
      Function
  • dojox.editor.plugins.InsertAnchor._checkValues

    • parameters:
      • args: (typeof Object)
        Content being set.
    • summary
      Function to check the values in args and 'fix' them up as needed.
    • tags:
    • type
      Function
  • dojox.editor.plugins.InsertAnchor.setValue

    • parameters:
      • args
    • summary
      Callback from the dialog when user presses "set" button.
    • tags:
    • type
      Function
  • dojox.editor.plugins.InsertAnchor._onCloseDialog

    • summary
      Handler for close event on the dialog
    • type
      Function
  • dojox.editor.plugins.InsertAnchor._getCurrentValues

    • parameters:
      • a: (typeof The)
        anchor/link to process for data for the dropdown.
    • returns
      Object;
    • summary
      Over-ride for getting the values to set in the dropdown.
    • tags:
    • type
      Function
  • dojox.editor.plugins.InsertAnchor._onOpenDialog

    • summary
      Handler for when the dialog is opened.
      If the caret is currently in a URL then populate the URL's info into the dialog.
    • type
      Function
  • dojox.editor.plugins.InsertAnchor._onDblClick

    • parameters:
      • e: (typeof Object)
        The double-click event.
    • summary
      Function to define a behavior on double clicks on the element
      type this dialog edits to select it and pop up the editor
      dialog.
    • tags: protected.
    • type
      Function
  • dojox.editor.plugins.InsertAnchor._preDomFilter

    • parameters:
      • node: (typeof The)
        node to search from.
    • summary
      A filter to identify the 'a' tags and if they're anchors,
      apply the right style to them.
    • tags:
    • type
      Function
  • dojox.editor.plugins.InsertAnchor._postDomFilter

    • parameters:
      • node: (typeof The)
        node to search from.
    • summary
      A filter to identify the 'a' tags and if they're anchors,
      remove the class style that shows up in the editor from
      them.
    • tags:
    • type
      Function
  • dojox.editor.plugins

    • type
      Object
  • dojox.editor

    • type
      Object
  • dojox

    • type
      Object