Ignore:
Timestamp:
01/30/07 12:14:40 (13 years ago)
Author:
ray
Message:

see Ticket #900 retain editing position position between modes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/InternetExplorer/InternetExplorer.js

    r703 r706  
    424424    var sel = this.getSelection(); 
    425425    var r = sel.createRange();  
    426     r.collapse(); 
    427     r.text = this.cc; 
     426    if ( sel.type == 'Control' ) 
     427    { 
     428      var control = r.item(0); 
     429      control.outerHTML += this.cc; 
     430    } 
     431    else 
     432    { 
     433      r.collapse(); 
     434      r.text = this.cc; 
     435    } 
    428436  } 
    429437}; 
Note: See TracChangeset for help on using the changeset viewer.