| 
				
			 | 
			
			
				@@ -63,8 +63,19 @@ function setupTouchEndFocus(editorId) { 
			 | 
		
	
		
			
			| 
				63
			 | 
			
				63
			 | 
			
			
				     }); 
			 | 
		
	
		
			
			| 
				64
			 | 
			
				64
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				65
			 | 
			
				65
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
			 | 
			
				66
			 | 
			
			
				+function disableLineBreakIfNecessary(editorId) { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				67
			 | 
			
			
				+    var editor = $(`#${editorId}`); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				68
			 | 
			
			
				+    var disableLineBreaks = editor.attr("disableLineBreaks"); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				69
			 | 
			
			
				+    if (disableLineBreaks) { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				70
			 | 
			
			
				+        editor.keypress(function(e){ return e.which != 13; }); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				71
			 | 
			
			
				+    } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				72
			 | 
			
			
				+} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				73
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				66
			 | 
			
				74
			 | 
			
			
				 zss_editor.init = function() { 
			 | 
		
	
		
			
			| 
				67
			 | 
			
				75
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
			 | 
			
				76
			 | 
			
			
				+    disableLineBreakIfNecessary('zss_editor_title'); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				77
			 | 
			
			
				+    disableLineBreakIfNecessary('zss_editor_content'); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				78
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				68
			 | 
			
				79
			 | 
			
			
				     setupTouchEndEnableEditing('zss_editor_title'); 
			 | 
		
	
		
			
			| 
				69
			 | 
			
				80
			 | 
			
			
				     setupTouchEndEnableEditing('zss_editor_content'); 
			 | 
		
	
		
			
			| 
				70
			 | 
			
				81
			 | 
			
			
				  
			 |