mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	test(ckeditor5-math): license key not found
This commit is contained in:
		| @@ -15,6 +15,7 @@ describe( 'AutoMath - integration', () => { | |||||||
| 		return ClassicEditor | 		return ClassicEditor | ||||||
| 			.create( editorElement, { | 			.create( editorElement, { | ||||||
| 				plugins: [ Mathematics, AutoMath, Typing, Paragraph ], | 				plugins: [ Mathematics, AutoMath, Typing, Paragraph ], | ||||||
|  | 				licenseKey: "GPL", | ||||||
| 				math: { | 				math: { | ||||||
| 					engine: ( equation, element, display ) => { | 					engine: ( equation, element, display ) => { | ||||||
| 						if ( display ) { | 						if ( display ) { | ||||||
|   | |||||||
| @@ -13,6 +13,7 @@ describe( 'Lazy load', () => { | |||||||
| 		return ClassicEditor | 		return ClassicEditor | ||||||
| 			.create( editorElement, { | 			.create( editorElement, { | ||||||
| 				...config, | 				...config, | ||||||
|  | 				licenseKey: "GPL", | ||||||
| 				plugins: [ MathUI ] | 				plugins: [ MathUI ] | ||||||
| 			} ) | 			} ) | ||||||
| 			.then( newEditor => { | 			.then( newEditor => { | ||||||
|   | |||||||
| @@ -15,7 +15,8 @@ describe( 'Math', () => { | |||||||
|  |  | ||||||
| 		return ClassicEditor | 		return ClassicEditor | ||||||
| 			.create( editorElement, { | 			.create( editorElement, { | ||||||
| 				plugins: [ Mathematics ] | 				plugins: [ Mathematics ], | ||||||
|  | 				licenseKey: "GPL" | ||||||
| 			} ) | 			} ) | ||||||
| 			.then( newEditor => { | 			.then( newEditor => { | ||||||
| 				editor = newEditor; | 				editor = newEditor; | ||||||
|   | |||||||
| @@ -33,8 +33,9 @@ describe( 'MathUI', () => { | |||||||
| 						} else { | 						} else { | ||||||
| 							element.innerHTML = '\\(' + equation + '\\)'; | 							element.innerHTML = '\\(' + equation + '\\)'; | ||||||
| 						} | 						} | ||||||
| 					} | 					}, | ||||||
| 				} | 				}, | ||||||
|  | 				licenseKey: "GPL" | ||||||
| 			} ) | 			} ) | ||||||
| 			.then( newEditor => { | 			.then( newEditor => { | ||||||
| 				editor = newEditor; | 				editor = newEditor; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user