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.
		
		
		
		
			
				
					37 lines
				
				1.0 KiB
			
		
		
			
		
	
	
					37 lines
				
				1.0 KiB
			| 
								 
											4 years ago
										 
									 | 
							
								import Parchment from 'parchment';
							 | 
						||
| 
								 | 
							
								import Quill from './core/quill';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import Block, { BlockEmbed } from './blots/block';
							 | 
						||
| 
								 | 
							
								import Break from './blots/break';
							 | 
						||
| 
								 | 
							
								import Container from './blots/container';
							 | 
						||
| 
								 | 
							
								import Cursor from './blots/cursor';
							 | 
						||
| 
								 | 
							
								import Embed from './blots/embed';
							 | 
						||
| 
								 | 
							
								import Inline from './blots/inline';
							 | 
						||
| 
								 | 
							
								import Scroll from './blots/scroll';
							 | 
						||
| 
								 | 
							
								import TextBlot from './blots/text';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import Clipboard from './modules/clipboard';
							 | 
						||
| 
								 | 
							
								import History from './modules/history';
							 | 
						||
| 
								 | 
							
								import Keyboard from './modules/keyboard';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Quill.register({
							 | 
						||
| 
								 | 
							
								  'blots/block'        : Block,
							 | 
						||
| 
								 | 
							
								  'blots/block/embed'  : BlockEmbed,
							 | 
						||
| 
								 | 
							
								  'blots/break'        : Break,
							 | 
						||
| 
								 | 
							
								  'blots/container'    : Container,
							 | 
						||
| 
								 | 
							
								  'blots/cursor'       : Cursor,
							 | 
						||
| 
								 | 
							
								  'blots/embed'        : Embed,
							 | 
						||
| 
								 | 
							
								  'blots/inline'       : Inline,
							 | 
						||
| 
								 | 
							
								  'blots/scroll'       : Scroll,
							 | 
						||
| 
								 | 
							
								  'blots/text'         : TextBlot,
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  'modules/clipboard'  : Clipboard,
							 | 
						||
| 
								 | 
							
								  'modules/history'    : History,
							 | 
						||
| 
								 | 
							
								  'modules/keyboard'   : Keyboard
							 | 
						||
| 
								 | 
							
								});
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Parchment.register(Block, Break, Cursor, Inline, Scroll, TextBlot);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export default Quill;
							 |