Skip to content

Commit

Permalink
support SVG upload as image
Browse files Browse the repository at this point in the history
  • Loading branch information
zadam committed Jan 9, 2024
1 parent f8370df commit a3b28f9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/ckeditor5-build-balloon-block/build/ckeditor.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export default class BalloonEditor extends BalloonEditorBase {
icon: string;
})[];
toolbar: string[];
upload: {
types: string[];
};
};
heading: {
options: ({
Expand Down
5 changes: 4 additions & 1 deletion packages/ckeditor5-build-balloon-block/src/ckeditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,10 @@ export default class BalloonEditor extends BalloonEditorBase {
'imageResize:original',
'|',
'toggleImageCaption'
]
],
upload: {
types: [ 'jpeg', 'png', 'gif', 'bmp', 'webp', 'tiff', 'svg', 'svg+xml', 'avif' ]
}
},
heading: {
options: [
Expand Down

0 comments on commit a3b28f9

Please sign in to comment.