Ignore:
Timestamp:
12.07.2010 21:24:47 (23 months ago)
Author:
zmsdev
Message:

Added support for conf-properties: Height and Config (requested by uni-be).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ZMS/trunk/plugins/rte/fckeditor/manage_form.dtml

    r1086 r1099  
    33###  CKEditor 
    44###  please refer to http://ckeditor.com/ 
     5### 
     6###  Conf-Properties: 
     7###  plugin.rte.ckeditor.Height=400 
     8###  plugin.rte.ckeditor.Config 
    59################################################################################ 
    610</dtml-comment> 
     
    7882  var div = document.getElementById("editor_<dtml-var "REQUEST.get('elName')">"); 
    7983  var fck = new FCKeditor("editor_<dtml-var "REQUEST.get('elName')">"); 
     84  fck.Height = <dtml-var "getConfProperty('plugin.rte.ckeditor.Height',400)">; 
     85        <dtml-if "getConfProperty('plugin.rte.ckeditor.Config','')">fck.Config["CustomConfigurationsPath"] = "<dtml-var "getConfProperty('plugin.rte.ckeditor.Config','')">";</dtml-if> 
    8086  div.innerHTML = fck.CreateHtml(); 
    8187}); 
Note: See TracChangeset for help on using the changeset viewer.