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/DefinitionList/definition-list.js

    r856 r893  
    5050 
    5151DefinitionList.prototype.onGenerate = function() { 
    52   var style_id = "DefinitionList-style" 
    53   var style = this.editor._doc.getElementById(style_id); 
    54   if (style == null) { 
    55     style = this.editor._doc.createElement("link"); 
    56     style.id = style_id; 
    57     style.rel = 'stylesheet'; 
    58     style.href = _editor_url + 'plugins/DefinitionList/definition-list.css'; 
    59     this.editor._doc.getElementsByTagName("HEAD")[0].appendChild(style); 
    60   } 
     52  this.editor.addEditorStylesheet(_editor_url + 'plugins/DefinitionList/definition-list.css'); 
    6153}; 
    6254 
Note: See TracChangeset for help on using the changeset viewer.