mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Sceditor auto-expanding on post create form.
This commit is contained in:
parent
dff9831228
commit
fc70840c41
@ -30,4 +30,5 @@ a {
|
|||||||
*/
|
*/
|
||||||
.sceditor-iframe-body {
|
.sceditor-iframe-body {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
padding-bottom: 0px;
|
||||||
}
|
}
|
@ -115,9 +115,9 @@ ComunicWeb.components.posts.edit = {
|
|||||||
|
|
||||||
sceditor.create(editorTextarea, {
|
sceditor.create(editorTextarea, {
|
||||||
format: 'bbcode',
|
format: 'bbcode',
|
||||||
height: "200px",
|
|
||||||
width: "100%",
|
width: "100%",
|
||||||
icons: "material",
|
icons: "material",
|
||||||
|
height: "200px",
|
||||||
toolbarExclude: "youtube,image,size,link,print,mail,emoticon,maximize"
|
toolbarExclude: "youtube,image,size,link,print,mail,emoticon,maximize"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -57,13 +57,14 @@ ComunicWeb.components.posts.form = {
|
|||||||
|
|
||||||
sceditor.create(inputMessageTextarea, {
|
sceditor.create(inputMessageTextarea, {
|
||||||
format: 'bbcode',
|
format: 'bbcode',
|
||||||
height: "100px",
|
|
||||||
width: "100%",
|
width: "100%",
|
||||||
toolbar: 'bold,italic,underline,subscript,superscript,' +
|
toolbar: 'bold,italic,underline,subscript,superscript,' +
|
||||||
'left,center,right,justify,color,' +
|
'left,center,right,justify,color,' +
|
||||||
'bulletlist,orderedlist,table,code,quote,source',
|
'bulletlist,orderedlist,table,code,quote,source',
|
||||||
emoticonsEnabled: false,
|
emoticonsEnabled: false,
|
||||||
icons: "material",
|
icons: "material",
|
||||||
|
autoExpand: true,
|
||||||
|
resizeMaxHeight: -1,
|
||||||
toolbarContainer: inputMessageToolbarTarget
|
toolbarContainer: inputMessageToolbarTarget
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user