mirror of
https://github.com/documize/community.git
synced 2025-07-30 18:49:43 +02:00
CodeMirror dependency upgraded to v5.32.0
For handling Markdown and Code section types
This commit is contained in:
parent
3337db6b27
commit
0336f84a83
351 changed files with 3408 additions and 1945 deletions
2
gui/public/codemirror/addon/display/panel.js
vendored
Executable file → Normal file
2
gui/public/codemirror/addon/display/panel.js
vendored
Executable file → Normal file
|
@ -66,7 +66,7 @@
|
|||
Panel.prototype.changed = function(height) {
|
||||
var newHeight = height == null ? this.node.offsetHeight : height;
|
||||
var info = this.cm.state.panels;
|
||||
this.cm._setSize(null, info.height += (newHeight - this.height));
|
||||
this.cm._setSize(null, info.heightLeft -= (newHeight - this.height));
|
||||
this.height = newHeight;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue