Function
This plugin provides the basis for an 'anchor' (link) dialog and an extension of it provides the image link dialog.
String
Used for validating input as correct URL. While file:// urls are not terribly useful, they are technically valid.
String
Used for validating input as correct email address. Taken from dojox.validate
String
String used for templating the HTML to insert at the desired point.
String
Tag used for the link type.
String
Template for contents of TooltipDialog to pick URL
Function
", "", " | ", " "id='${id}_urlInput' name='urlInput' intermediateChanges='true'/>", " |
", "", " | ", " "name='textInput' intermediateChanges='true'/>", " |
", "", " | ", "", " |
", "", "", " |
Function
A function to listen for onChange events and test the input contents for valid information, such as valid urls with http/https/ftp and if not present, try and guess if the input url is relative or not, and if not, append http:// to it. Also validates other fields as determined by the internal _isValid function.
Function
Over-ridable function that connects tag specific events.
Function
Internal function to allow validating of the inputs for a link to determine if set should be disabled or not
Function
Helper for _initButton above. Not sure why it's a separate method.
Function
Content being set.
Function to check the values in args and 'fix' them up as needed.
Function
Callback from the dialog when user presses "set" button.
Function
Handler for close event on the dialog
Function
anchor/link to process for data for the dropdown.
Over-ride for getting the values to set in the dropdown.
Object;
Function
Handler for when the dialog is opened. If the caret is currently in a URL then populate the URL's info into the dialog.
Function
The double-click event.
Function to define a behavior on double clicks on the element type this dialog edits to select it and pop up the editor dialog.
Function
This plugin extends LinkDialog and adds in a plugin for handling image links. provides the image link dialog.
The command provided by this plugin is: * insertImage
String
Over-ride for template since img dialog doesn't need target that anchor tags may.
String
String used for templating the <img> HTML to insert at the desired point.
String
Tag used for the link type (img).
Function
Over-ride for getting the values to set in the dropdown. a: The anchor/link to process for data for the dropdown.
Object;
Function
Over-ride for images. You can have alt text of blank, it is valid.
Function
Over-ridable function that connects tag specific events.
Function
The mousedown event.
A simple event handler that lets me select an image if it is clicked on. makes it easier to select images in a standard way across browsers. Otherwise selecting an image for edit becomes difficult.
Function
Content being set.
Function to check the values in args and 'fix' them up as needed (special characters in the url or alt text)
Function
The double-click event.
Function to define a behavior on double clicks on the element type this dialog edits to select it and pop up the editor dialog.
Object
Object
Object