Skip to content

Commit

Permalink
Merge pull request #15222 from ckeditor/ck/15185
Browse files Browse the repository at this point in the history
Internal (image): Added manual test with overridden image conversion to use only size attributes for images. Closes #15185.
  • Loading branch information
niegowski authored Oct 27, 2023
2 parents 4d5fa5d + 8969c76 commit 6e60e0b
Show file tree
Hide file tree
Showing 4 changed files with 407 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/ckeditor5-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,21 @@
"@ckeditor/ckeditor5-cloud-services": "40.0.0",
"@ckeditor/ckeditor5-core": "40.0.0",
"@ckeditor/ckeditor5-dev-utils": "^39.0.0",
"@ckeditor/ckeditor5-html-support": "40.0.0",
"@ckeditor/ckeditor5-paste-from-office": "40.0.0",
"@ckeditor/ckeditor5-easy-image": "40.0.0",
"@ckeditor/ckeditor5-editor-classic": "40.0.0",
"@ckeditor/ckeditor5-engine": "40.0.0",
"@ckeditor/ckeditor5-enter": "40.0.0",
"@ckeditor/ckeditor5-essentials": "40.0.0",
"@ckeditor/ckeditor5-heading": "40.0.0",
"@ckeditor/ckeditor5-html-embed": "40.0.0",
"@ckeditor/ckeditor5-html-support": "40.0.0",
"@ckeditor/ckeditor5-indent": "40.0.0",
"@ckeditor/ckeditor5-link": "40.0.0",
"@ckeditor/ckeditor5-list": "40.0.0",
"@ckeditor/ckeditor5-media-embed": "40.0.0",
"@ckeditor/ckeditor5-paragraph": "40.0.0",
"@ckeditor/ckeditor5-paste-from-office": "40.0.0",
"@ckeditor/ckeditor5-source-editing": "40.0.0",
"@ckeditor/ckeditor5-table": "40.0.0",
"@ckeditor/ckeditor5-theme-lark": "40.0.0",
"@ckeditor/ckeditor5-typing": "40.0.0",
Expand Down
13 changes: 13 additions & 0 deletions packages/ckeditor5-image/tests/manual/simple-image.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<div id="editor">
<h2 data-foo="bar">Simple Image</h2>

<h3>Inline images</h3>
<p>
<img src="parrot_2.jpg" alt="Parrot" width="300" height="451">
<img src="parrot_2.jpg" alt="Parrot" width="200" height="301">
</p>

<h3>Block images</h3>
<img src="parrot_2.jpg" alt="Parrot" width="300" height="451">
<img src="parrot_2.jpg" alt="Parrot" width="200" height="301">
</div>
Empty file.
Loading

0 comments on commit 6e60e0b

Please sign in to comment.