mirror of
https://github.com/itflow-org/itflow
synced 2026-03-06 05:44:52 +00:00
Enabled TinyMCE for mobile users as well
This commit is contained in:
@@ -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',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user