mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
test(ckeditor5-mermaid): fix errors due to missing license key
This commit is contained in:
parent
abc8e2279c
commit
ef3d6ebf29
@ -14,6 +14,7 @@ describe( 'InsertMermaidCommand', () => {
|
||||
document.body.appendChild( domElement );
|
||||
|
||||
editor = await ClassicEditor.create( domElement, {
|
||||
licenseKey: "GPL",
|
||||
plugins: [
|
||||
MermaidEditing,
|
||||
Paragraph
|
||||
|
@ -15,6 +15,7 @@ describe( 'MermaidPreviewCommand', () => {
|
||||
document.body.appendChild( domElement );
|
||||
|
||||
editor = await ClassicEditor.create( domElement, {
|
||||
licenseKey: "GPL",
|
||||
plugins: [
|
||||
MermaidEditing,
|
||||
Paragraph
|
||||
|
@ -15,6 +15,7 @@ describe( 'MermaidSourceViewCommand', () => {
|
||||
document.body.appendChild( domElement );
|
||||
|
||||
editor = await ClassicEditor.create( domElement, {
|
||||
licenseKey: "GPL",
|
||||
plugins: [
|
||||
MermaidEditing,
|
||||
Paragraph
|
||||
|
@ -15,6 +15,7 @@ describe( 'MermaidSplitViewCommand', () => {
|
||||
document.body.appendChild( domElement );
|
||||
|
||||
editor = await ClassicEditor.create( domElement, {
|
||||
licenseKey: "GPL",
|
||||
plugins: [
|
||||
MermaidEditing,
|
||||
Paragraph
|
||||
|
@ -19,6 +19,7 @@ describe( 'Mermaid', () => {
|
||||
document.body.appendChild( domElement );
|
||||
|
||||
editor = await ClassicEditor.create( domElement, {
|
||||
licenseKey: "GPL",
|
||||
plugins: [
|
||||
Paragraph,
|
||||
Heading,
|
||||
|
@ -19,6 +19,7 @@ describe( 'MermaidEditing', () => {
|
||||
document.body.appendChild( domElement );
|
||||
|
||||
editor = await ClassicEditor.create( domElement, {
|
||||
licenseKey: "GPL",
|
||||
plugins: [
|
||||
Paragraph,
|
||||
Heading,
|
||||
|
@ -14,6 +14,7 @@ describe( 'MermaidToolbar', () => {
|
||||
document.body.appendChild( domElement );
|
||||
|
||||
return ClassicTestEditor.create( domElement, {
|
||||
licenseKey: "GPL",
|
||||
plugins: [ Essentials, Paragraph, Mermaid ],
|
||||
mermaid: {
|
||||
toolbar: [ 'fake_button' ]
|
||||
|
@ -20,6 +20,7 @@ describe( 'MermaidUI', () => {
|
||||
document.body.appendChild( domElement );
|
||||
|
||||
editor = await ClassicEditor.create( domElement, {
|
||||
licenseKey: "GPL",
|
||||
plugins: [
|
||||
Mermaid
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user