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.
		
		
		
		
		
			
		
			
				
					
					
						
							29 lines
						
					
					
						
							680 B
						
					
					
				
			
		
		
	
	
							29 lines
						
					
					
						
							680 B
						
					
					
				| 'use strict';
 | |
| 
 | |
| Object.defineProperty(exports, '__esModule', { value: true });
 | |
| 
 | |
| var core = require('@tiptap/core');
 | |
| 
 | |
| const TableRow = core.Node.create({
 | |
|     name: 'tableRow',
 | |
|     addOptions() {
 | |
|         return {
 | |
|             HTMLAttributes: {},
 | |
|         };
 | |
|     },
 | |
|     content: '(tableCell | tableHeader)*',
 | |
|     tableRole: 'row',
 | |
|     parseHTML() {
 | |
|         return [
 | |
|             { tag: 'tr' },
 | |
|         ];
 | |
|     },
 | |
|     renderHTML({ HTMLAttributes }) {
 | |
|         return ['tr', core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
 | |
|     },
 | |
| });
 | |
| 
 | |
| exports.TableRow = TableRow;
 | |
| exports["default"] = TableRow;
 | |
| //# sourceMappingURL=tiptap-extension-table-row.cjs.map
 |