Dotclear


Ignore:
Timestamp:
05/02/15 13:57:50 (10 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add an user option to display the editor's toolbar on bottom of textarea (is possible). Take into account this option in dcLegacyEditor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcLegacyEditor/js/jsToolBar/jsToolBar.js

    r2614 r3003  
    4141     this.toolbar = document.createElement("div"); 
    4242     this.toolbar.className = 'jstElements'; 
    43      this.editor.parentNode.insertBefore(this.toolbar,this.editor); 
     43 
     44     if (this.toolbar_bottom) { 
     45          this.editor.parentNode.insertBefore(this.toolbar,this.editor.nextSibling); 
     46     } else { 
     47          this.editor.parentNode.insertBefore(this.toolbar,this.editor); 
     48     } 
    4449 
    4550     // Dragable resizing (only for gecko) 
     
    142147     mode: 'xhtml', 
    143148     elements: {}, 
     149     toolbar_bottom: false, 
    144150 
    145151     getMode: function() { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map