mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	feat(math/display): allow inserting in display in a list
This commit is contained in:
		
							parent
							
								
									578eb46814
								
							
						
					
					
						commit
						6231df7f0e
					
				@ -58,9 +58,7 @@ export default class MathEditing extends Plugin {
 | 
				
			|||||||
		} );
 | 
							} );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		schema.register( 'mathtex-display', {
 | 
							schema.register( 'mathtex-display', {
 | 
				
			||||||
			allowWhere: '$block',
 | 
								inheritAllFrom: '$blockObject',
 | 
				
			||||||
			isInline: false,
 | 
					 | 
				
			||||||
			isObject: true,
 | 
					 | 
				
			||||||
			allowAttributes: [ 'equation', 'type', 'display' ]
 | 
								allowAttributes: [ 'equation', 'type', 'display' ]
 | 
				
			||||||
		} );
 | 
							} );
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user