Ignore:
Timestamp:
01/23/07 13:56:06 (13 years ago)
Author:
gogo
Message:

This should be the same as trunk@688 but preserving history. Now to get
this back to the trunk.

Location:
branches/688-fixup/modules/GetHtml
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/688-fixup/modules/GetHtml/DOMwalk.js

    r690 r693  
    2121    --  $LastChangedBy$ 
    2222    --------------------------------------------------------------------------*/ 
     23function GetHtmlImplementation(editor) { 
     24    this.editor = editor; 
     25} 
     26 
     27GetHtmlImplementation._pluginInfo = { 
     28  name          : "GetHtmlImplementation DOMwalk", 
     29  origin        : "Xinha Core", 
     30  version       : "$LastChangedRevision$".replace(/^[^:]*: (.*) \$$/, '$1'), 
     31  developer     : "The Xinha Core Developer Team", 
     32  developer_url : "$HeadURL$".replace(/^[^:]*: (.*) \$$/, '$1'), 
     33  sponsor       : "", 
     34  sponsor_url   : "", 
     35  license       : "htmlArea" 
     36}; 
    2337 
    2438// Retrieves the HTML code from the given node.  This is a replacement for 
  • branches/688-fixup/modules/GetHtml/TransformInnerHTML.js

    r690 r693  
    1919  */ 
    2020   
    21 function GetHtml(editor) { 
     21function GetHtmlImplementation(editor) { 
    2222    this.editor = editor; 
    2323} 
    2424 
    25 GetHtml._pluginInfo = { 
    26         name          : "GetHtml", 
     25GetHtmlImplementation._pluginInfo = { 
     26        name          : "GetHtmlImplementation TransformInnerHTML", 
    2727        version       : "1.0", 
    2828        developer     : "Nelson Bright", 
    2929        developer_url : "http://www.brightworkweb.com/", 
     30        sponsor       : "", 
     31    sponsor_url   : "", 
    3032        license       : "htmlArea" 
    3133}; 
     
    206208        return html; 
    207209}; 
    208  
    209 //overload outwardHtml() to handle onclick suppression 
    210 HTMLArea.prototype._origOutwardHtml = HTMLArea.prototype.outwardHtml; 
    211 HTMLArea.prototype.outwardHtml = function(html) { 
    212         html = html.replace("onclick=\"try{if(document.designMode && document.designMode == 'on') return false;}catch(e){} window.open(", "onclick=\"window.open("); 
    213         html = this._origOutwardHtml(html); 
    214         return html; 
    215 }; 
Note: See TracChangeset for help on using the changeset viewer.