mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 18:08:50 +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 {
|
||||
padding: 5px;
|
||||
padding-bottom: 0px;
|
||||
}
|
@ -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"
|
||||
});
|
||||
|
||||
|
@ -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
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user