mirror of
				https://github.com/cinnyapp/cinny.git
				synced 2025-11-04 06:20:28 +03:00 
			
		
		
		
	Edit option (#1447)
* add func to parse html to editor input * add plain to html input function * re-construct markdown * fix missing return * fix falsy condition * fix reading href instead of src of emoji * add message editor - WIP * fix plain to editor input func * add save edit message functionality * show edited event source code * focus message input on after editing message * use del tag for strike-through instead of s * prevent autocomplete from re-opening after esc * scroll out of view msg editor in view * handle up arrow edit * handle scroll to message editor without effect * revert prev commit: effect run after editor render * ignore relation event from editable * allow data-md tag for del and em in sanitize html * prevent edit without changes * ignore previous reply when replying to msg * fix up arrow edit not working sometime
This commit is contained in:
		
							parent
							
								
									152576e85d
								
							
						
					
					
						commit
						f5bcc9b851
					
				
					 18 changed files with 957 additions and 108 deletions
				
			
		
							
								
								
									
										2
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							| 
						 | 
				
			
			@ -23,6 +23,7 @@
 | 
			
		|||
        "classnames": "2.3.2",
 | 
			
		||||
        "dateformat": "5.0.3",
 | 
			
		||||
        "dayjs": "1.11.10",
 | 
			
		||||
        "domhandler": "5.0.3",
 | 
			
		||||
        "emojibase": "6.1.0",
 | 
			
		||||
        "emojibase-data": "7.0.1",
 | 
			
		||||
        "file-saver": "2.0.5",
 | 
			
		||||
| 
						 | 
				
			
			@ -30,6 +31,7 @@
 | 
			
		|||
        "focus-trap-react": "10.0.2",
 | 
			
		||||
        "folds": "1.5.0",
 | 
			
		||||
        "formik": "2.2.9",
 | 
			
		||||
        "html-dom-parser": "4.0.0",
 | 
			
		||||
        "html-react-parser": "4.2.0",
 | 
			
		||||
        "immer": "9.0.16",
 | 
			
		||||
        "is-hotkey": "0.2.0",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue