mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-06 07:33:04 +08:00
Add tables functionality in tinymce
Close SCI-3821
This commit is contained in:
parent
7f415a551d
commit
ae83ef749f
1 changed files with 3 additions and 3 deletions
6
app/assets/javascripts/sitewide/tiny_mce.js
vendored
6
app/assets/javascripts/sitewide/tiny_mce.js
vendored
|
@ -38,9 +38,9 @@ var TinyMCE = (function() {
|
||||||
tinyMCE.init({
|
tinyMCE.init({
|
||||||
cache_suffix: '?v=4.9.3', // This suffix should be changed any time library is updated
|
cache_suffix: '?v=4.9.3', // This suffix should be changed any time library is updated
|
||||||
selector: selector,
|
selector: selector,
|
||||||
menubar: 'file edit view insert format',
|
menubar: 'file edit view insert format table',
|
||||||
toolbar: 'undo redo restoredraft | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link | forecolor backcolor | customimageuploader | codesample',
|
toolbar: 'undo redo restoredraft | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link | forecolor backcolor | customimageuploader | codesample | table tabledelete | tableprops tablerowprops tablecellprops | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol ',
|
||||||
plugins: 'autosave autoresize customimageuploader link advlist codesample autolink lists charmap hr anchor searchreplace wordcount visualblocks visualchars insertdatetime nonbreaking save directionality paste textcolor placeholder colorpicker textpattern',
|
plugins: 'autosave autoresize customimageuploader link advlist codesample autolink lists charmap hr anchor searchreplace wordcount visualblocks visualchars insertdatetime nonbreaking save directionality paste textcolor placeholder colorpicker textpattern table',
|
||||||
autoresize_bottom_margin: 20,
|
autoresize_bottom_margin: 20,
|
||||||
codesample_languages: [
|
codesample_languages: [
|
||||||
{ text: 'R', value: 'r' },
|
{ text: 'R', value: 'r' },
|
||||||
|
|
Loading…
Reference in a new issue