Skip to content

Commit

Permalink
Merge pull request #4 from dasch-swiss/footnotes-plugin
Browse files Browse the repository at this point in the history
feat: added FootNote plugin
  • Loading branch information
irmastnt authored Jun 5, 2024
2 parents 45df8bb + 8168a7f commit d45ec07
Show file tree
Hide file tree
Showing 5 changed files with 176 additions and 24 deletions.
4 changes: 2 additions & 2 deletions build/ckeditor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/ckeditor.js.map

Large diffs are not rendered by default.

185 changes: 166 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ckeditor5-custom-build",
"author": "CKSource",
"description": "A custom CKEditor 5 build made by the CKEditor 5 online builder.",
"version": "2.0.0",
"version": "2.0.1",
"license": "SEE LICENSE IN LICENSE.md",
"private": true,
"main": "./build/ckeditor.js",
Expand Down Expand Up @@ -39,5 +39,8 @@
},
"scripts": {
"build": "webpack --mode production"
},
"dependencies": {
"ckeditor5-footnote": "^0.1.0"
}
}
}
2 changes: 2 additions & 0 deletions src/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import SpecialCharactersMathematical from '@ckeditor/ckeditor5-special-character
import Table from '@ckeditor/ckeditor5-table/src/table.js';
import TableToolbar from '@ckeditor/ckeditor5-table/src/tabletoolbar.js';
import TextTransformation from '@ckeditor/ckeditor5-typing/src/texttransformation.js';
import FootNote from 'ckeditor5-footnote/src/footnote';

class Editor extends ClassicEditor { }

Expand All @@ -39,6 +40,7 @@ Editor.builtinPlugins = [
Code,
CodeBlock,
Essentials,
FootNote,
Heading,
HorizontalLine,
Italic,
Expand Down

0 comments on commit d45ec07

Please sign in to comment.