Changeset 53


Ignore:
Timestamp:
03/29/05 07:01:47 (13 years ago)
Author:
guillaumed
Message:

ticket:59

The following code to the modification which remove the a link make me perplex...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r52 r53  
    33323332  var sel = this._getSelection(); 
    33333333  var range = this._createRange(sel); 
     3334   
     3335  // the selection must contain at least some text 
     3336  if (range.text == "undefined") return true; 
     3337   
     3338  // to remove a link (should be done like this?) 
    33343339  var r2 = range.duplicate(); 
    33353340  r2.moveStart("character", -1); 
Note: See TracChangeset for help on using the changeset viewer.