Changeset 3258:2357a1bf9114 for plugins/dcLegacyEditor/js
- Timestamp:
- 06/24/16 10:23:37 (9 years ago)
- Branch:
- default
- Location:
- plugins/dcLegacyEditor/js/jsToolBar
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dcLegacyEditor/js/jsToolBar/jsToolBar.js
r3003 r3258 429 429 }; 430 430 431 // code 432 jsToolBar.prototype.elements.mark = { 433 type: 'button', 434 title: 'Mark', 435 fn: { 436 wiki: function() { this.singleTag('""') }, 437 xhtml: function() { this.singleTag('<mark>','</mark>')} 438 } 439 }; 440 431 441 // spacer 432 442 jsToolBar.prototype.elements.space1 = { -
plugins/dcLegacyEditor/js/jsToolBar/jsToolBar.wysiwyg.js
r2614 r3258 655 655 }; 656 656 657 jsToolBar.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 657 664 jsToolBar.prototype.elements.br.fn.wysiwyg = function() { 658 665 var n = this.iwin.document.createElement('br');
Note: See TracChangeset
for help on using the changeset viewer.