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.
		
		
		
		
			
				
					13 lines
				
				438 B
			
		
		
			
		
	
	
					13 lines
				
				438 B
			| 
								 
											4 years ago
										 
									 | 
							
								import Parchment from 'parchment';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								let config = {
							 | 
						||
| 
								 | 
							
								  scope: Parchment.Scope.BLOCK,
							 | 
						||
| 
								 | 
							
								  whitelist: ['rtl']
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								let DirectionAttribute = new Parchment.Attributor.Attribute('direction', 'dir', config);
							 | 
						||
| 
								 | 
							
								let DirectionClass = new Parchment.Attributor.Class('direction', 'ql-direction', config);
							 | 
						||
| 
								 | 
							
								let DirectionStyle = new Parchment.Attributor.Style('direction', 'direction', config);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export { DirectionAttribute, DirectionClass, DirectionStyle };
							 |