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

  • Provides:

    • dojox.editor.plugins.AutoUrlLink
  • Requires:

    • dojo.string in common
    • dijit._editor._Plugin in common
    • dijit.form.Button in common
  • dojox.editor.plugins.AutoUrlLink

    • type
      Function
    • chains:
      • dijit._editor._Plugin: (prototype)
      • dijit._editor._Plugin: (call)
    • summary
      This plugin can recognize a URL like string
      (such as http://www.website.com) and turn it into
      a hyperlink that points to that URL.
  • dojox.editor.plugins.AutoUrlLink._template

    • type
      String
  • dojox.editor.plugins.AutoUrlLink.setEditor

    • parameters:
      • editor: (typeof dijit.Editor)
        The editor it belongs to.
    • summary
      Called by the editor it belongs to.
    • type
      Function
  • dojox.editor.plugins.AutoUrlLink.editor

  • dojox.editor.plugins.AutoUrlLink.setEditor.editor

    • type
      The
    • summary
      editor it belongs to.
  • dojox.editor.plugins.AutoUrlLink._keyPress

    • parameters:
      • evt: (typeof The)
        keypress event object.
    • summary
      Handle the keypress event and dispatch it to the target handler
    • tags:
    • type
      Function
  • dojox.editor.plugins.AutoUrlLink._saved

  • dojox.editor.plugins.AutoUrlLink._recognize

    • parameters:
      • args
    • summary
      Recognize the URL like strings and turn them into a link
    • tags:
    • type
      Function
  • dojox.editor.plugins.AutoUrlLink._inLink

    • parameters:
      • node: (typeof DomNode)
        The node to be examed.
    • summary
      Check if the node is already embraced within a <a>...</a> tag.
    • tags:
    • type
      Function
  • dojox.editor.plugins.AutoUrlLink.editor.editNode

  • dojox.editor.plugins.AutoUrlLink._findLastEditingNode

    • parameters:
      • node: (typeof DomNode)
        The current node that the cursor is at.
    • summary
      Find the last node that was edited so that we can
      get the last edited text.
    • tags:
    • type
      Function
  • dojox.editor.plugins.AutoUrlLink._findUrls

    • parameters:
      • node: (typeof DomNode)
      • bm: (typeof DomNode)
      • bmOff: (typeof Number)
    • summary
      Find the occurrace of the URL strings.
      FF, Chrome && Safri have a behavior that when insertHTML is executed,
      the orignal referrence to the text node will be the text node next to
      the inserted anchor automatically. So we have to re-caculate the index of
      the following URL occurrence.
      value:
      A text to be scanned.
    • tags:
    • type
      Function
  • dojox.editor.plugins

    • type
      Object
  • dojox.editor

    • type
      Object
  • dojox

    • type
      Object