Reconfiguring the height of the SCEditor edit area depending on the height of the button bar
This commit is contained in:
parent
214bbbfaa0
commit
8b1c9dedc7
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,8 @@ ForkBB.editor = (function (doc, win) {
|
|||
sceditor.create(textarea, options);
|
||||
instance = sceditor.instance(textarea);
|
||||
|
||||
instance.height(instance.height() - instance.getBody().offsetHeight + 300);
|
||||
|
||||
if (smiliesEnabled) {
|
||||
var checkbox = doc.querySelector('input[name="hide_smilies"]');
|
||||
|
||||
|
|
Loading…
Reference in a new issue