mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-10-31 03:50:27 +03:00 
			
		
		
		
	Fixes issue where inline-only content would disappear when unwrapping a details block element.
		
			
				
	
	
		
			19 lines
		
	
	
		
			213 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			213 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
 | |
| 
 | |
| export const blockElementTypes = [
 | |
|     'p',
 | |
|     'h1',
 | |
|     'h2',
 | |
|     'h3',
 | |
|     'h4',
 | |
|     'h5',
 | |
|     'h6',
 | |
|     'div',
 | |
|     'blockquote',
 | |
|     'pre',
 | |
|     'code-block',
 | |
|     'details',
 | |
|     'ul',
 | |
|     'ol',
 | |
|     'table'
 | |
| ]; |