|
|
|
|
1037
|
}
|
1037
|
}
|
1038
|
|
1038
|
|
1039
|
zss_editor.calculateEditorHeightWithCaretPosition = function() {
|
1039
|
zss_editor.calculateEditorHeightWithCaretPosition = function() {
|
1040
|
- var caretYPosition = zss_editor.getCaretYPosition();
|
|
|
|
|
1040
|
+ var caretYPosition = zss_editor.platform === 'ios' ? zss_editor.getCaretYPosition() : 0;
|
1041
|
var lineHeight = 20;
|
1041
|
var lineHeight = 20;
|
1042
|
var halfLineHeight = lineHeight/2;
|
1042
|
var halfLineHeight = lineHeight/2;
|
1043
|
var offsetY = window.document.body.scrollTop;
|
1043
|
var offsetY = window.document.body.scrollTop;
|
|
|
|
|
1684
|
font-family: Arial, Helvetica, sans-serif;
|
1684
|
font-family: Arial, Helvetica, sans-serif;
|
1685
|
color: #000;
|
1685
|
color: #000;
|
1686
|
width: 95%;
|
1686
|
width: 95%;
|
1687
|
- height: 100%;
|
|
|
1688
|
-webkit-overflow-scrolling: touch;
|
1687
|
-webkit-overflow-scrolling: touch;
|
1689
|
overflow:auto;
|
1688
|
overflow:auto;
|
1690
|
padding-left: 10px;
|
1689
|
padding-left: 10px;
|