mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
test(ckeditor5-math): license key not found
This commit is contained in:
parent
c3d028b495
commit
c9834e58bb
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user