Skip to content

Commit

Permalink
Fix ckbox warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mati365 committed Aug 12, 2024
1 parent 8ec25c1 commit c9d2781
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 1 addition & 9 deletions demos/cdn-react/CKEditorCKBoxCloudDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,11 @@ export const CKEditorCKBoxCloudDemo = ( { content }: CKEditorCKBoxCloudDemoProps
return <div>Loading...</div>;
}

const {
CKBox,
CKBoxImageEdit,
CKFinder,
CKFinderUploadAdapter
} = cloud.CKEditor;

const { CKBox, CKBoxImageEdit } = cloud.CKEditor;
const CKEditorClassic = useCKCdnClassicEditor( {
cloud,
additionalPlugins: [
CKBox,
CKFinder,
CKFinderUploadAdapter,
CKBoxImageEdit
],
overrideConfig: {
Expand Down
2 changes: 0 additions & 2 deletions demos/cdn-react/useCKCdnClassicEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export const useCKCdnClassicEditor = ( {
Bold,
Italic,
BlockQuote,
EasyImage,
CloudServices,
Heading,
Image,
Expand All @@ -49,7 +48,6 @@ export const useCKCdnClassicEditor = ( {
Bold,
Italic,
BlockQuote,
EasyImage,
Heading,
Image,
ImageCaption,
Expand Down

0 comments on commit c9d2781

Please sign in to comment.