zhangchao 4 years ago
parent
commit
6d131a7349
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/editor.html

+ 1
- 2
src/editor.html View File

885
 				clearHtmlIfTextIsEmpty('zss_editor_content');
885
 				clearHtmlIfTextIsEmpty('zss_editor_content');
886
 
886
 
887
 				$(document).on('selectionchange',function(e){
887
 				$(document).on('selectionchange',function(e){
888
-					console.log('selectionchange');
889
 					zss_editor.calculateEditorHeightWithCaretPosition();
888
 					zss_editor.calculateEditorHeightWithCaretPosition();
890
 					zss_editor.setScrollPosition();
889
 					zss_editor.setScrollPosition();
891
 					zss_editor.enabledEditingItems(e);
890
 					zss_editor.enabledEditingItems(e);
1684
 			#zss_editor_content {
1683
 			#zss_editor_content {
1685
 				font-family: Arial, Helvetica, sans-serif;
1684
 				font-family: Arial, Helvetica, sans-serif;
1686
 				color: #000;
1685
 				color: #000;
1687
-				width: 100%;
1686
+				width: 95%;
1688
 				height: 100%;
1687
 				height: 100%;
1689
 				-webkit-overflow-scrolling: touch;
1688
 				-webkit-overflow-scrolling: touch;
1690
 				overflow:auto;
1689
 				overflow:auto;