@@ -1420,10 +1420,10 @@
 | 
			
		||||
		left: 50%;
 | 
			
		||||
		right: 0%;
 | 
			
		||||
	}
 | 
			
		||||
	.master-note-edit.position-1.full-focus {
 | 
			
		||||
/*	.master-note-edit.position-1.full-focus {
 | 
			
		||||
		left: 20%;
 | 
			
		||||
		right: 20%;
 | 
			
		||||
	}
 | 
			
		||||
	}*/
 | 
			
		||||
	.master-note-edit.position-2 {
 | 
			
		||||
		left: 0%;
 | 
			
		||||
		right: 50%;
 | 
			
		||||
 
 | 
			
		||||
@@ -202,6 +202,10 @@ Note.update = (io, userId, noteId, noteText, noteTitle, color, pinned, archived,
 | 
			
		||||
			//Encrypt note text if proper data is setup
 | 
			
		||||
			if(password.length > 3 && salt.length > 1000){
 | 
			
		||||
				noteText = cs.encrypt(password, salt, noteText)
 | 
			
		||||
 | 
			
		||||
				//
 | 
			
		||||
				// @TODO - Do note save data if encryption goes wrong, do some validation
 | 
			
		||||
				//
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			//Update Note text
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user