You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							12 lines
						
					
					
						
							424 B
						
					
					
				
			
		
		
	
	
							12 lines
						
					
					
						
							424 B
						
					
					
				import Parchment from 'parchment'; | 
						|
 | 
						|
let config = { | 
						|
  scope: Parchment.Scope.BLOCK, | 
						|
  whitelist: ['right', 'center', 'justify'] | 
						|
}; | 
						|
 | 
						|
let AlignAttribute = new Parchment.Attributor.Attribute('align', 'align', config); | 
						|
let AlignClass = new Parchment.Attributor.Class('align', 'ql-align', config); | 
						|
let AlignStyle = new Parchment.Attributor.Style('align', 'text-align', config); | 
						|
 | 
						|
export { AlignAttribute, AlignClass, AlignStyle };
 | 
						|
 |