Ignore:
Timestamp:
10/03/07 20:13:05 (12 years ago)
Author:
ray
Message:
  • #1079 Plugin DynamicCSS lists Xinha internal CSS
  • #1080 Some plugins leave behind stylesheet links in fullpage mode
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Abbreviation/abbreviation.js

    r846 r893  
    4141 
    4242Abbreviation.prototype.onGenerate = function() { 
    43   var style_id = "Abbr-style" 
    44   var style = this.editor._doc.getElementById(style_id); 
    45   if (style == null) { 
    46     style = this.editor._doc.createElement("link"); 
    47     style.id = style_id; 
    48     style.rel = 'stylesheet'; 
    49     style.href = _editor_url + 'plugins/Abbreviation/abbreviation.css'; 
    50     this.editor._doc.getElementsByTagName("HEAD")[0].appendChild(style); 
    51   } 
     43  this.editor.addEditorStylesheet(_editor_url + 'plugins/Abbreviation/abbreviation.css'); 
    5244}; 
    5345 
Note: See TracChangeset for help on using the changeset viewer.