Sceditor auto-expanding on post create form.

This commit is contained in:
Pierre HUBERT 2019-01-10 16:47:20 +01:00
parent dff9831228
commit fc70840c41
3 changed files with 4 additions and 2 deletions

View File

@ -30,4 +30,5 @@ a {
*/
.sceditor-iframe-body {
padding: 5px;
padding-bottom: 0px;
}

View File

@ -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"
});

View File

@ -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
});