diff --git a/assets/css/common/global.css b/assets/css/common/global.css index 6e646d38..b14618ba 100644 --- a/assets/css/common/global.css +++ b/assets/css/common/global.css @@ -30,4 +30,5 @@ a { */ .sceditor-iframe-body { padding: 5px; + padding-bottom: 0px; } \ No newline at end of file diff --git a/assets/js/components/posts/edit.js b/assets/js/components/posts/edit.js index 0b4b3c60..56b078c7 100644 --- a/assets/js/components/posts/edit.js +++ b/assets/js/components/posts/edit.js @@ -115,9 +115,9 @@ ComunicWeb.components.posts.edit = { sceditor.create(editorTextarea, { format: 'bbcode', - height: "200px", width: "100%", icons: "material", + height: "200px", toolbarExclude: "youtube,image,size,link,print,mail,emoticon,maximize" }); diff --git a/assets/js/components/posts/form.js b/assets/js/components/posts/form.js index 90794c4f..91101472 100644 --- a/assets/js/components/posts/form.js +++ b/assets/js/components/posts/form.js @@ -57,13 +57,14 @@ ComunicWeb.components.posts.form = { sceditor.create(inputMessageTextarea, { format: 'bbcode', - height: "100px", width: "100%", toolbar: 'bold,italic,underline,subscript,superscript,' + 'left,center,right,justify,color,' + 'bulletlist,orderedlist,table,code,quote,source', emoticonsEnabled: false, icons: "material", + autoExpand: true, + resizeMaxHeight: -1, toolbarContainer: inputMessageToolbarTarget });