mirror of https://github.com/itflow-org/itflow
Add html code plugin + button to tinymceticket
This commit is contained in:
parent
975b52a43d
commit
f0c48d23fe
|
|
@ -169,14 +169,15 @@ $(document).ready(function() {
|
||||||
{ name: 'lists', items: ['bullist', 'numlist'] },
|
{ name: 'lists', items: ['bullist', 'numlist'] },
|
||||||
{ name: 'indentation', items: ['outdent', 'indent'] },
|
{ name: 'indentation', items: ['outdent', 'indent'] },
|
||||||
{ name: 'ai', items: ['reword', 'undo', 'redo'] },
|
{ name: 'ai', items: ['reword', 'undo', 'redo'] },
|
||||||
{ name: 'custom', items: ['redactButton'] } // Add custom redact button to toolbar
|
{ name: 'custom', items: ['redactButton'] }, // Add custom redact button to toolbar
|
||||||
|
{ name: 'code', items: ['code'] },
|
||||||
],
|
],
|
||||||
mobile: {
|
mobile: {
|
||||||
menubar: false,
|
menubar: false,
|
||||||
toolbar: 'bold italic styles'
|
toolbar: 'bold italic styles'
|
||||||
},
|
},
|
||||||
convert_urls: false,
|
convert_urls: false,
|
||||||
plugins: 'link image lists table code codesample fullscreen autoresize',
|
plugins: 'link image lists table code codesample fullscreen autoresize code',
|
||||||
license_key: 'gpl',
|
license_key: 'gpl',
|
||||||
setup: function(editor) {
|
setup: function(editor) {
|
||||||
var rewordButtonApi;
|
var rewordButtonApi;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue