Skip to content

Commit

Permalink
add accordion plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk authored and philli-m committed Nov 7, 2023
1 parent 446e456 commit fc64e17
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 40 deletions.
93 changes: 53 additions & 40 deletions django_ckeditor_5/package-lock.json

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

1 change: 1 addition & 0 deletions django_ckeditor_5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@ckeditor/ckeditor5-ui": "^40.0.0",
"@ckeditor/ckeditor5-upload": "^40.0.0",
"@ckeditor/ckeditor5-word-count": "^40.0.0",
"@liqd/ckeditor5-accordion": "github:liqd/ckeditor5-accordion",
"@liqd/ckeditor5-file-uploader": "github:liqd/ckeditor5-file-uploader"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions django_ckeditor_5/static/django_ckeditor_5/src/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import { Style } from '@ckeditor/ckeditor5-style';
import { HorizontalLine } from '@ckeditor/ckeditor5-horizontal-line';
import { LinkImage } from '@ckeditor/ckeditor5-link';
import { FileUploader } from '@liqd/ckeditor5-file-uploader';
import { Accordion } from '@liqd/ckeditor5-accordion';


export default class ClassicEditor extends ClassicEditorBase {
Expand Down Expand Up @@ -95,4 +96,5 @@ ClassicEditor.builtinPlugins = [
HorizontalLine,
LinkImage,
FileUploader,
Accordion
];

0 comments on commit fc64e17

Please sign in to comment.