Ignore:
Timestamp:
09/20/06 00:10:37 (13 years ago)
Author:
ray
Message:

Linker:

  • use fixRelativeLinks()
  • fixed buggy handling of anchor links

DoubleClick?:

  • with links: use button function instead of calling _createLink() directly (for Linker)
  • removed nonsensical toggling of bold, underline, etc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/DoubleClick/double-click.js

    r419 r581  
    3737        //                                                      - target is the selected object 
    3838        this.editor.dblClickList = { 
    39                 u: [ function(e) {e.execCommand("underline");} ], 
    40                 strike: [ function(e) {e.execCommand("strikethrough");} ], 
    41                 sub: [ function(e) {e.execCommand("subscript");} ], 
    42                 sup: [ function(e) {e.execCommand("superscript");} ], 
    4339                // Edit Link dialog 
    44                 a: [ function(e) {e.execCommand("createlink");} ], 
     40                a: [ function(e) {e.config.btnList['createlink'][3](e); } ], 
    4541                // Follow link 
    4642                //a: [ function(editor, target) { window.location = target.href; properties(target); } ], 
Note: See TracChangeset for help on using the changeset viewer.