Skip to content

Commit

Permalink
Merge pull request #202 from ckeditor/i/201-add-gpl-to-samples
Browse files Browse the repository at this point in the history
Other (package-generator): Added `GPL` licenseKey to the packages created by the generator. Closes #201.
  • Loading branch information
pomek authored Dec 3, 2024
2 parents 3fe5a67 + c2a550a commit da1f2de
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import <%= formattedNames.plugin.pascalCase %> from '../src/<%= formattedNames.p

ClassicEditor
.create( document.querySelector( '#editor' ), {
licenseKey: 'GPL',
plugins: [
<%= formattedNames.plugin.pascalCase %>,
Essentials,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@

CKEditor5.editorClassic.ClassicEditor
.create( document.querySelector( '#editor' ), {
licenseKey: 'GPL',
plugins: [
CKEditor5[ '<%= formattedNames.package.camelCase %>' ].<%= formattedNames.plugin.pascalCase %>,
CKEditor5.essentials.Essentials,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ describe( '<%= formattedNames.plugin.pascalCase %>', () => {
document.body.appendChild( domElement );

editor = await ClassicEditor.create( domElement, {
licenseKey: 'GPL',
plugins: [
Paragraph,
Heading,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import 'ckeditor5/ckeditor5.css';

ClassicEditor
.create( document.querySelector( '#editor' ), {
licenseKey: 'GPL',
plugins: [
<%= formattedNames.plugin.pascalCase %>,
Essentials,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ describe( '<%= formattedNames.plugin.pascalCase %>', () => {
document.body.appendChild( domElement );

editor = await ClassicEditor.create( domElement, {
licenseKey: 'GPL',
plugins: [
Paragraph,
Heading,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import <%= formattedNames.plugin.pascalCase %> from '../src/<%= formattedNames.p

ClassicEditor
.create( document.getElementById( 'editor' )!, {
licenseKey: 'GPL',
plugins: [
<%= formattedNames.plugin.pascalCase %>,
Essentials,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@

CKEditor5.editorClassic.ClassicEditor
.create( document.querySelector( '#editor' ), {
licenseKey: 'GPL',
plugins: [
CKEditor5[ '<%= formattedNames.package.camelCase %>' ].<%= formattedNames.plugin.pascalCase %>,
CKEditor5.essentials.Essentials,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ describe( '<%= formattedNames.plugin.pascalCase %>', () => {
document.body.appendChild( domElement );

editor = await ClassicEditor.create( domElement, {
licenseKey: 'GPL',
plugins: [
Paragraph,
Heading,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import 'ckeditor5/ckeditor5.css';

ClassicEditor
.create( document.getElementById( 'editor' )!, {
licenseKey: 'GPL',
plugins: [
<%= formattedNames.plugin.pascalCase %>,
Essentials,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ describe( '<%= formattedNames.plugin.pascalCase %>', () => {
document.body.appendChild( domElement );

editor = await ClassicEditor.create( domElement, {
licenseKey: 'GPL',
plugins: [
Paragraph,
Heading,
Expand Down

0 comments on commit da1f2de

Please sign in to comment.