mirror of https://github.com/itflow-org/itflow
Enabled TinyMCE for mobile users as well
This commit is contained in:
parent
c3a711d75d
commit
eb3decb4da
|
|
@ -30,8 +30,13 @@ tinymce.init({
|
||||||
{ name: 'alignment', items: [ 'alignleft', 'aligncenter', 'alignright', 'alignjustify' ] },
|
{ name: 'alignment', items: [ 'alignleft', 'aligncenter', 'alignright', 'alignjustify' ] },
|
||||||
{ name: 'indentation', items: [ 'outdent', 'indent' ] },
|
{ name: 'indentation', items: [ 'outdent', 'indent' ] },
|
||||||
{ name: 'table', items: [ 'table' ] },
|
{ name: 'table', items: [ 'table' ] },
|
||||||
{ name: 'extra', items: [ 'print', 'code', 'fullscreen' ] }
|
{ name: 'extra', items: [ 'code', 'fullscreen' ] }
|
||||||
],
|
],
|
||||||
|
mobile: {
|
||||||
|
menubar: false,
|
||||||
|
plugins: 'autosave lists autolink',
|
||||||
|
toolbar: 'bold italic styles'
|
||||||
|
},
|
||||||
plugins: 'link image lists table code codesample fullscreen autoresize',
|
plugins: 'link image lists table code codesample fullscreen autoresize',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,13 @@
|
||||||
{ name: 'alignment', items: [ 'alignleft', 'aligncenter', 'alignright', 'alignjustify' ] },
|
{ name: 'alignment', items: [ 'alignleft', 'aligncenter', 'alignright', 'alignjustify' ] },
|
||||||
{ name: 'indentation', items: [ 'outdent', 'indent' ] },
|
{ name: 'indentation', items: [ 'outdent', 'indent' ] },
|
||||||
{ name: 'table', items: [ 'table' ] },
|
{ name: 'table', items: [ 'table' ] },
|
||||||
{ name: 'extra', items: [ 'print', 'code', 'fullscreen' ] }
|
{ name: 'extra', items: [ 'fullscreen' ] }
|
||||||
],
|
],
|
||||||
|
mobile: {
|
||||||
|
menubar: false,
|
||||||
|
plugins: 'autosave lists autolink',
|
||||||
|
toolbar: 'undo bold italic styles'
|
||||||
|
},
|
||||||
plugins: 'link image lists table code codesample fullscreen autoresize',
|
plugins: 'link image lists table code codesample fullscreen autoresize',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue