Skip to content

Commit 78e34c9

Browse files
authored
fixes #114 wild jumping (#151)
* fixes #114 wild jumping * fix
1 parent e4fcc6b commit 78e34c9

File tree

4 files changed

+993
-1656
lines changed

4 files changed

+993
-1656
lines changed

dist/PublicLab.Editor.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
.ple-textarea {
111111
box-sizing: border-box;
112112
min-height: 31px;
113+
height: 800px;
113114
}
114115

115116
.ple-history {

dist/PublicLab.Editor.js

Lines changed: 988 additions & 1649 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "publiclab-editor",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "PublicLab.Editor is a general purpose, JavaScript/Bootstrap UI framework for rich text posting, which provides an author-friendly, minimal, mobile/desktop (fluid) interface for creating blog-like content, designed for PublicLab.org",
55
"main": "dist/PublicLab.Editor.js",
66
"scripts": {

src/modules/PublicLab.RichTextModule.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,11 @@ module.exports = PublicLab.RichTextModule = PublicLab.Module.extend({
127127

128128
}
129129

130-
131-
var growTextarea = require('grow-textarea');
132-
130+
// caused wild jumpy behavior - https://github.com/publiclab/PublicLab.Editor/issues/114
131+
//var growTextarea = require('grow-textarea');
133132
// Make textarea match content height
134133
_module.resize = function() {
135-
136-
growTextarea(_module.options.textarea, { extra: 10 });
137-
134+
//growTextarea(_module.options.textarea, { extra: 10 });
138135
}
139136

140137
_module.resize();

0 commit comments

Comments
 (0)