Skip to content

Commit

Permalink
Add image via URL support
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-darsow committed Nov 22, 2023
1 parent 3b4a4c9 commit de11b4c
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
27 changes: 27 additions & 0 deletions 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@ckeditor/ckeditor5-heading": "^37.1.0",
"@ckeditor/ckeditor5-highlight": "^37.1.0",
"@ckeditor/ckeditor5-horizontal-line": "^37.1.0",
"@ckeditor/ckeditor5-image": "^37.1.0",
"@ckeditor/ckeditor5-link": "^37.1.0",
"@ckeditor/ckeditor5-list": "^37.1.0",
"@ckeditor/ckeditor5-paragraph": "^37.1.0",
Expand Down
5 changes: 5 additions & 0 deletions src/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import Essentials from "@ckeditor/ckeditor5-essentials/src/essentials.js";
import Heading from "@ckeditor/ckeditor5-heading/src/heading.js";
import Highlight from "@ckeditor/ckeditor5-highlight/src/highlight.js";
import HorizontalLine from "@ckeditor/ckeditor5-horizontal-line/src/horizontalline.js";
import { Image } from "@ckeditor/ckeditor5-image";
import ImageInsertViaUrl from "@ckeditor/ckeditor5-image/src/imageinsertviaurl.js";
import Italic from "@ckeditor/ckeditor5-basic-styles/src/italic.js";
import Link from "@ckeditor/ckeditor5-link/src/link.js";
import List from "@ckeditor/ckeditor5-list/src/list.js";
Expand Down Expand Up @@ -43,6 +45,8 @@ const plugins = [
Heading,
Highlight,
HorizontalLine,
Image,
ImageInsertViaUrl,
Italic,
Link,
List,
Expand Down Expand Up @@ -76,6 +80,7 @@ const config = {
"subscript",
"|",
"link",
"insertImage",
"bulletedList",
"numberedList",
"math",
Expand Down

0 comments on commit de11b4c

Please sign in to comment.