|  | @ -254,7 +254,7 @@ | 
		
	
		
			
				|  |  |             this.preview          = editor.find("." + classPrefix + "preview"); |  |  |             this.preview          = editor.find("." + classPrefix + "preview"); | 
		
	
		
			
				|  |  |             this.toolbar          = editor.find("." + classPrefix + "toolbar"); |  |  |             this.toolbar          = editor.find("." + classPrefix + "toolbar"); | 
		
	
		
			
				|  |  |             this.previewContainer = this.preview.children("." + classPrefix + "preview-container"); |  |  |             this.previewContainer = this.preview.children("." + classPrefix + "preview-container"); | 
		
	
		
			
				|  |  |              |  |  |  | 
		
	
		
			
				|  |  |  |  |  |             this.infoDialog       = editor.find("." + classPrefix + "dialog-info"); | 
		
	
		
			
				|  |  |             this.toolbarIconHandlers  = {}; |  |  |             this.toolbarIconHandlers  = {}; | 
		
	
		
			
				|  |  |              |  |  |              | 
		
	
		
			
				|  |  |             editor.addClass(classPrefix + "vertical"); |  |  |             editor.addClass(classPrefix + "vertical"); | 
		
	
	
		
			
				|  | @ -981,6 +981,7 @@ | 
		
	
		
			
				|  |  |             var preview          = this.preview; |  |  |             var preview          = this.preview; | 
		
	
		
			
				|  |  |             var toolbar          = this.toolbar; |  |  |             var toolbar          = this.toolbar; | 
		
	
		
			
				|  |  |             var settings         = this.settings; |  |  |             var settings         = this.settings; | 
		
	
		
			
				|  |  |  |  |  |             var infoDialog       = this.infoDialog; | 
		
	
		
			
				|  |  |             var codeEditor       = this.codeEditor; |  |  |             var codeEditor       = this.codeEditor; | 
		
	
		
			
				|  |  |             var codeMirror       = this.codeMirror; |  |  |             var codeMirror       = this.codeMirror; | 
		
	
		
			
				|  |  |              |  |  |              | 
		
	
	
		
			
				|  | @ -992,6 +993,11 @@ | 
		
	
		
			
				|  |  |                 }); |  |  |                 }); | 
		
	
		
			
				|  |  |             } |  |  |             } | 
		
	
		
			
				|  |  |              |  |  |              | 
		
	
		
			
				|  |  |  |  |  |             infoDialog.css({ | 
		
	
		
			
				|  |  |  |  |  |                 top  : (editor.height() - infoDialog.height()) / 2, | 
		
	
		
			
				|  |  |  |  |  |                 left : (editor.width() - infoDialog.width()) / 2 | 
		
	
		
			
				|  |  |  |  |  |             }); | 
		
	
		
			
				|  |  |  |  |  |                          | 
		
	
		
			
				|  |  |             if (settings.toolbar) {             |  |  |             if (settings.toolbar) {             | 
		
	
		
			
				|  |  |                 codeMirror.css("margin-top", toolbar.outerHeight()).outerHeight(editor.height() - toolbar.outerHeight()); |  |  |                 codeMirror.css("margin-top", toolbar.outerHeight()).outerHeight(editor.height() - toolbar.outerHeight()); | 
		
	
		
			
				|  |  |             } else { |  |  |             } else { | 
		
	
	
		
			
				|  | 
 |