Dotclear


Ignore:
Timestamp:
06/24/16 10:23:37 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add mark button

File:
1 edited

Legend:

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

    r2614 r3258  
    655655}; 
    656656 
     657jsToolBar.prototype.elements.mark.fn.wysiwyg = function() { 
     658     var n = this.getSelectedNode(); 
     659     var mark = this.iwin.document.createElement('mark'); 
     660     mark.appendChild(n); 
     661     this.insertNode(mark); 
     662}; 
     663 
    657664jsToolBar.prototype.elements.br.fn.wysiwyg = function() { 
    658665     var n = this.iwin.document.createElement('br'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map