kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Restored height fixer for text editor
rodzic
84a1337792
commit
6ff361cdc2
core/modules/macros/edit/editors
|
@ -100,7 +100,7 @@ TextEditor.prototype.fixHeight = function() {
|
|||
var prevWrapperHeight = wrapper.style.height;
|
||||
wrapper.style.height = textarea.style.height + "px";
|
||||
textarea.style.overflow = "hidden";
|
||||
// textarea.style.height = "1px";
|
||||
textarea.style.height = "1px";
|
||||
textarea.style.height = Math.max(textarea.scrollHeight,MIN_TEXT_AREA_HEIGHT) + "px";
|
||||
wrapper.style.height = prevWrapperHeight;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue