TinyMCE:API/tinymce.Editor/convertURL
From Moxiecode Documentation Wiki
Contents |
[edit]
Method: convertURL
[edit]
Summary
URL converter function. This gets executed each time a user adds an img, a or any other element that has a URL in it. Will be called both by the DOM and HTML manipulation functions.
[edit]
Syntax
<string> convertURL(<string> u, <string> n, <string/HTMLElement> Tag)
[edit]
Parameters
- u
- URL to convert.
- n
- Attribute name src, href etc.
- Tag
- name or HTML DOM element depending on HTML or DOM insert.
[edit]
Returns
Converted URL string.
