Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2052: Support for inline images #9236

Merged
merged 749 commits into from
Jun 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
749 commits
Select commit Hold shift + click to select a range
708fa76
Tests.
oleq Apr 15, 2021
5ac48c5
Docs.
oleq Apr 15, 2021
b63c5f2
Merge branch 'master' into i/2052-inline-images
oleq Apr 15, 2021
c7f6ac5
Merge branch 'i/2052-inline-images' into i/8871-inline-link-image
oleq Apr 15, 2021
a64f621
Merge branch 'i/2052-inline-images' into i/9342-side-image-margins
oleq Apr 15, 2021
1accae2
Merge branch 'i/2052-inline-images' into i/9213-enabling-caption-toolbar
oleq Apr 15, 2021
489bdbe
Added the default block style instead the center style to the breakTe…
Apr 15, 2021
e6e84d7
Updated the manual tests.
Apr 15, 2021
6eb4401
Removed the Image plugin dependency from the EasyImage plugin.
oleq Apr 16, 2021
dc859b3
Fixes after the review.
Apr 16, 2021
a4a0063
Enabling image resize and text alternative buttons + some renaming.
Apr 16, 2021
5d41d83
Store hidden image captions internally in the ImageCaptionEditing plu…
oleq Apr 16, 2021
14c85ea
Tests: ImageTypeCommand#execute tests for the new API.
oleq Apr 16, 2021
dcadc2a
Test: insertImage() return value test.
oleq Apr 16, 2021
a0e37cb
Tests: Added tests for ToggleImageCaptionCommand integration with sav…
oleq Apr 16, 2021
b630f14
Tests: Updated ImageCaptionEditing tests since image captions are sto…
oleq Apr 16, 2021
b7bea5a
Tests: Added a ImageTypeCommand test for integration with caption sav…
oleq Apr 16, 2021
5b53391
Docs.
oleq Apr 16, 2021
e79e7b6
Tests for the ImageTextAternative, utils and ResizeImageCommand.
Apr 18, 2021
4384596
Fixed comma.
Apr 18, 2021
c4e7bbe
Renaming and refactoring.
Apr 18, 2021
7f47bcc
Merge pull request #9461 from ckeditor/i/9342-side-image-margins
oleq Apr 19, 2021
49bc851
Restored the document styles in the inline editor.
Apr 19, 2021
d0ddf31
Merge branch 'master' into i/2052-inline-images
oleq Apr 19, 2021
8757481
Merge branch 'i/2052-inline-images' into i/8871-inline-link-image
oleq Apr 19, 2021
6bb5155
Updated the document editor content.
Apr 19, 2021
67008af
Code refactoring.
oleq Apr 19, 2021
24a7329
Tests.
oleq Apr 19, 2021
898502a
Tests.
oleq Apr 19, 2021
32bd38f
Reducing the default images' sizes in the docs.
Apr 19, 2021
07a5d2f
Fixed the conversion tutorial to preserve the class on the inline image.
Apr 19, 2021
0dd7967
Removing the ImageResize plugin from the inline editor demo.
Apr 19, 2021
aafa685
Removed unused import.
Apr 19, 2021
fbc420b
Renaming and refactoring.
Apr 20, 2021
0cb8e4c
Code refactoring.
oleq Apr 20, 2021
b6bb0c8
Merge pull request #9459 from ckeditor/i/9213-enabling-caption-toolbar
oleq Apr 20, 2021
1115d58
Merge branch 'i/2052-inline-images' into i/8871-inline-link-image
oleq Apr 20, 2021
41d1b36
Code refactoring.
oleq Apr 20, 2021
23ac235
Update packages/ckeditor5-image/src/imageutils.js
oleq Apr 20, 2021
76899a2
Merge pull request #9438 from ckeditor/i/8871-inline-link-image
niegowski Apr 20, 2021
974df2d
Merge branch 'i/2052-inline-images' into i/9144-updated-snippets
oleq Apr 20, 2021
da9dc99
Merge pull request #9508 from ckeditor/i/9144-updated-snippets
oleq Apr 20, 2021
6089549
Fix (image): Linked inline images should have the image toolbar attac…
oleq Apr 20, 2021
bd320cc
Normalized the view selection on an inline widget surrounded by an at…
oleq Apr 20, 2021
f44772e
Tests: Aligned LinkImageUI tests to the changes in inline widget sele…
oleq Apr 20, 2021
3217d99
Tests: Added a WidgetResize to make sure the resizers work correctly …
oleq Apr 20, 2021
7fa5e24
Code refactor.
niegowski Apr 21, 2021
7dd9dea
Merge branch 'i/2052-inline-images' into i/9368-safe-hidden-caption-s…
oleq Apr 21, 2021
6fe4964
Tests: Added a test to check whether the fake selection is set correc…
oleq Apr 21, 2021
2935627
Merge pull request #9526 from ckeditor/i/9524-attributes-vs-inline-wi…
niegowski Apr 21, 2021
9adca08
Code refactor.
niegowski Apr 21, 2021
a628185
Tests.
oleq Apr 21, 2021
2b6716f
Code refactor.
niegowski Apr 21, 2021
703cc3a
Merge remote-tracking branch 'origin/i/9368-safe-hidden-caption-stora…
niegowski Apr 21, 2021
84d9525
Tests.
oleq Apr 21, 2021
00a0eb9
Code refactor.
niegowski Apr 21, 2021
5ef1505
Experienced the paranoia.
oleq Apr 21, 2021
075960e
Merge branch 'master' into i/2052-inline-images
oleq Apr 21, 2021
3e3a0b9
Merge branch 'i/2052-inline-images' into i/9368-safe-hidden-caption-s…
oleq Apr 21, 2021
7dd7587
Merge branch 'i/2052-inline-images' into i/9399-easy-image-independence
oleq Apr 21, 2021
8c227c1
Merge pull request #9503 from ckeditor/i/9368-safe-hidden-caption-sto…
niegowski Apr 21, 2021
64827da
EasyImage should warn when the image plugin is not loaded.
oleq Apr 21, 2021
f60b471
Initial feature commit.
Apr 21, 2021
388b5eb
ImageUploadEditing should wait for ImageInlineEditing and ImageBlockE…
oleq Apr 21, 2021
34e0645
Internal builds.
oleq Apr 21, 2021
be36143
Internal builds.
oleq Apr 22, 2021
f4fec26
Docs.
oleq Apr 22, 2021
92654ba
Merge pull request #9494 from ckeditor/i/9399-easy-image-independence
niegowski Apr 22, 2021
1f0bb82
Renamed the image style "arrangements" to "options".
Apr 22, 2021
d3c8c48
Merge branch 'i/2052-inline-images' into i/9343-renaming
oleq Apr 22, 2021
cdbb7fa
Merge pull request #9544 from ckeditor/i/9343-renaming
oleq Apr 22, 2021
bb2c4a5
Merge branch 'i/2052-inline-images' into i/9340-declarative-styles
Apr 22, 2021
d4b8079
Merge branch 'master' into i/2052-inline-images
oleq Apr 26, 2021
9e29905
Merge branch 'i/2052-inline-images' into i/9340-declarative-styles
Apr 26, 2021
3240afb
Renamed "style" to "imageStyle:style" in dropdown definitions + polis…
Apr 27, 2021
58323a4
Dropdown title as a label prefix.
Apr 27, 2021
0b8be5b
Secured the fake selection setting process to depend on the model onl…
oleq Apr 27, 2021
4321fa8
Merge branch 'master' into i/2052-inline-images
oleq Apr 27, 2021
900113c
Merge branch 'i/2052-inline-images' into i/8985-cf-integration
oleq Apr 27, 2021
c430047
Updated the tests.
Apr 27, 2021
b4efb43
Updated docs.
Apr 28, 2021
892507a
Merge branch 'i/2052-inline-images' into i/9340-declarative-styles
Apr 28, 2021
9d0575f
Refactored selection downcast on widgets.
niegowski Apr 28, 2021
105a8f3
Fix of the default dropdowns.
Apr 28, 2021
22331d2
Added lodash to the dependencies.
Apr 28, 2021
e4a0d94
Merge branch 'master' into i/2052-inline-images
oleq Apr 29, 2021
aac184c
Merge branch 'i/2052-inline-images' into i/9580-safer-fake-selection
oleq Apr 29, 2021
9cac549
Merge pull request #9581 from ckeditor/i/9580-safer-fake-selection
oleq Apr 29, 2021
44c08fa
Passing the attributes from figure to img in the clipboard pipeline.
Apr 29, 2021
9e5581a
Merge branch 'i/2052-inline-images' into i/9562-image-size
Apr 29, 2021
fdf751a
Merge branch 'i/2052-inline-images' into i/9340-declarative-styles
Apr 29, 2021
706501b
Fix (code-block): Inline images should not be converted when applying…
pomek Apr 29, 2021
2ecf509
Merge pull request #9591 from ckeditor/i/9562-image-size
oleq Apr 29, 2021
cb60c05
Merge branch 'i/2052-inline-images' into i/9567
oleq Apr 29, 2021
2b4711c
Improved the schema check when upcasting children of codeBlock elements.
pomek Apr 29, 2021
07189b7
Wording.
pomek Apr 29, 2021
0b674a4
Merge branch 'master' into i/2052-inline-images
niegowski Apr 29, 2021
3e7f35d
Preserving markers on image type conversion.
niegowski Apr 29, 2021
875b19d
Fixed test.
niegowski Apr 29, 2021
e461ff1
Fixed the resize host node of the image.
Apr 30, 2021
c7f6f7c
Merge branch 'i/2052-inline-images' into i/9568-image-resize-link-int…
Apr 30, 2021
4dcb420
Added a comment.
Apr 30, 2021
5d4a65d
Saving empty caption content.
Apr 30, 2021
09e5080
Pasting an image without the source attribute will not break the editor.
pomek Apr 30, 2021
68a8870
Hide all toolbars when the user starts dragging the content and show …
pomek Apr 30, 2021
2ffdab6
When inserting an image in an empty list item, use the `inlineImage` …
pomek Apr 30, 2021
a34a85a
Merge pull request #9599 from ckeditor/i/9592-removing-caption
pomek Apr 30, 2021
d2db903
Handle markers conversion on the image caption.
niegowski Apr 30, 2021
ab736dd
Merge branch 'i/2052-inline-images' into i/9567
pomek May 1, 2021
612850b
The `<softBreak>` should not be removed when executing the `codeBlock…
pomek May 1, 2021
1907bcb
Exposed the `findDraggableWidget` function in the `DragDrop`
pomek May 1, 2021
055c48d
The `WidgetToolbarRepository` plugin should be disabled only when dra…
pomek May 1, 2021
7c50806
Fixed invalid test.
pomek May 1, 2021
bd53405
The DragDrop plugin should disable toolbars when dragging.
pomek May 2, 2021
f14595c
Requested changes.
May 4, 2021
9e97a42
Merge branch 'i/2052-inline-images' into i/9340-declarative-styles
May 4, 2021
925d8ed
Fixed links in the docs.
May 4, 2021
ab93674
Executing the min size of the block images properly.
May 4, 2021
53ab8ce
Code refactor.
niegowski May 4, 2021
2fcd641
LinkUI should be visible when clicking the inline widget, and should …
pomek May 4, 2021
ed0547f
Added the ImageResize plugin to the document build and removed it fro…
May 4, 2021
f4e0b62
Changed the resize unit.
May 4, 2021
ffb7272
Merge branch 'i/2052-inline-images' into i/9568-image-resize-link-int…
oleq May 4, 2021
aeed4f8
Merge pull request #9606 from ckeditor/i/9391
niegowski May 4, 2021
4c226be
Code refactor.
niegowski May 4, 2021
e46a42d
Merge pull request #9600 from ckeditor/i/9563
niegowski May 4, 2021
f70f227
Code refactor.
niegowski May 4, 2021
8c240a3
Merge pull request #9594 from ckeditor/i/9567
niegowski May 4, 2021
7ae0044
Merge pull request #9537 from ckeditor/i/9340-declarative-styles
oleq May 4, 2021
490bb88
Merge branch 'i/2052-inline-images' into cf/4012-inline-images-preser…
oleq May 4, 2021
fb655b5
Tests: Minor code refactoring.
oleq May 4, 2021
68d0c98
Merge pull request #9596 from ckeditor/cf/4012-inline-images-preserve…
oleq May 4, 2021
f0a0933
Code refactor.
niegowski May 4, 2021
f3f1020
Merge pull request #9604 from ckeditor/i/9566
niegowski May 4, 2021
8c33c10
Merge pull request #9617 from ckeditor/i/9607
niegowski May 4, 2021
2cec513
Merge branch 'i/2052-inline-images' into i/9300-small-image-in-cell
May 5, 2021
8ba5a07
Updated the build.
May 5, 2021
048faa6
Merge branch 'i/2052-inline-images' into i/9507-update-document-edito…
May 5, 2021
8093f17
Merge branch 'i/2052-inline-images' into i/9568-image-resize-link-int…
May 5, 2021
7667757
Merge pull request #9616 from ckeditor/i/9300-small-image-in-cell
oleq May 5, 2021
6abf512
Added a real-life scenario test.
May 5, 2021
53f32ae
Merge branch 'i/2052-inline-images' into i/9568-image-resize-link-int…
May 5, 2021
792bc61
Sipmlified the test requirements.
May 5, 2021
97b224b
Merge branch 'i/2052-inline-images' into i/9507-update-document-edito…
oleq May 5, 2021
fc49620
Tests: Stabilized a linked inline image resize test.
oleq May 5, 2021
01bdba9
Merge pull request #9598 from ckeditor/i/9568-image-resize-link-integ…
oleq May 5, 2021
cad7b92
Merge branch 'master' into i/2052-inline-images
May 6, 2021
86bd024
Merge branch 'i/2052-inline-images' into i/9507-update-document-edito…
May 6, 2021
f24bf47
Changes for TC.
niegowski May 6, 2021
f70f35d
[WIP] Split image guide into page-per-sub-feature structure.
oleq May 10, 2021
7169b5f
Merge branch 'master' into i/2052-inline-images
oleq May 10, 2021
9ec7290
Merge pull request #9618 from ckeditor/i/9507-update-document-editor-…
oleq May 10, 2021
6b3c61b
Merge branch 'i/2052-inline-images' into i/8591-inline-images-guide
oleq May 11, 2021
68ad772
Guide draft.
Mar 29, 2021
bc40260
Mention setting the default style.
Mar 29, 2021
fb03a55
Enabled globals.
Apr 13, 2021
9562f88
Docs: Mentioned changes to EasyImage made in #9399.
oleq Apr 16, 2021
77f62c7
Updated information about declarative drop-downs and migration from t…
May 6, 2021
116b41a
Fixed the information about the `EasyImage` plugin.
May 10, 2021
5e0c8e4
Moved the migration guide to the builds section + API changes descrip…
May 11, 2021
76ec988
Fixed the `imageInsertConfig` props scope.
May 11, 2021
d29cb91
Merge branch 'i/2052-inline-images' into cf/4009
niegowski May 11, 2021
e9123cc
Docs: Images overview.
oleq May 11, 2021
1598fe0
Linking + some other docs fixes.
May 11, 2021
99785be
Docs [skip ci]
oleq May 11, 2021
f8d8338
Docs [skip ci]
oleq May 11, 2021
237aaeb
Merge branch 'i/8591-inline-images-guide' into i/9339-migration-guilde
May 11, 2021
b3381bd
Merge branch 'master' into i/2052-inline-images
oleq May 11, 2021
7735012
Tests: Fixed broken tests after merging master.
oleq May 11, 2021
1a9001d
Merge branch 'i/2052-inline-images' into i/8591-inline-images-guide
oleq May 11, 2021
4463836
Docs: basic relinking for external links. [skip ci]
godai78 May 11, 2021
465f293
Fixed the links to image feature guide.
May 11, 2021
60aa0ee
Merge pull request #9379 from ckeditor/i/9339-migration-guilde
May 11, 2021
265d326
Docs: Added a full-featured editor to the images overview guide. [ski…
oleq May 11, 2021
77b8fe9
Docs: OCD [skip ci].
oleq May 11, 2021
b0d3811
Docs: internal guide relinking. [skip ci]
godai78 May 12, 2021
216ec1d
Docs: TOC revamp; relinkng. [skip ci]
godai78 May 12, 2021
d74909e
Docs: reactivating snippets in guides. [skip ci]
godai78 May 12, 2021
3571e9d
Merge branch 'master' into i/2052-inline-images
oleq May 12, 2021
da49252
Docs: snippets revamp; new images; upload overview rewrite; minor fixes.
godai78 May 12, 2021
e0337ae
Docs: TOC rewrite; minor fixes. [skip ci]
godai78 May 12, 2021
44c3ea6
Docs: API links fixes. [skip ci]
godai78 May 12, 2021
8deff5a
Docs: content styles link. [skip ci]
godai78 May 12, 2021
249a84e
Docs: minor cation snippet fix.
godai78 May 12, 2021
d8c37dd
Docs: minor cation snippet fix.
godai78 May 12, 2021
9626587
Docs: minor caption snippet fix.
godai78 May 12, 2021
55b1a89
Docs: additional image linking information.
godai78 May 12, 2021
2cf5ff5
Docs: Moved responsive image section back to overview. [skip ci]
oleq May 12, 2021
7c2b933
Docs: More items in overview editor image toolbar [skip ci].
oleq May 12, 2021
f28b7b3
Docs: Improved image text alternative guide [skip ci].
oleq May 12, 2021
9bcb587
Docs: revamped captions demo; revamped alt text demo. [skip ci]
godai78 May 13, 2021
d148c04
Docs: image linking demo revamp. [skip ci]
godai78 May 13, 2021
43c79e7
Image style suggestion replacing.
niegowski May 13, 2021
42d7d1d
Merge branch 'i/2052-inline-images' into cf/4009
niegowski May 13, 2021
f831d13
Added case for post fixer where the inline image is wrapped in a new …
niegowski May 13, 2021
0b22ff8
Fixed image style post-fixer.
niegowski May 14, 2021
49b3c6b
Docs: Fixed heading levels. Added missing installation sections. [ski…
oleq May 14, 2021
b26d536
Docs: Added installation section to the images resizing guide. [skip ci]
oleq May 14, 2021
7a888d7
Docs: image resize demo. [skip ci]
godai78 May 14, 2021
caecff3
Removed the protected `isImageWidget` function from the code example.
May 14, 2021
63ee0ad
Merge branch 'master' into i/2052-inline-images
oleq May 14, 2021
9d026d5
Replaced image->imageBlock in </?image> strings (mostly tests).
oleq May 14, 2021
299d850
Replaced image->imageBlock in meaningful 'image' occurences.
oleq May 14, 2021
fcca5fe
Replaced image->imageBlock in meaningful :image occurences.
oleq May 14, 2021
5ec7648
Docs: image resize buttons demo. [skip ci]
godai78 May 14, 2021
12fdf63
Clean-up.
oleq May 14, 2021
a0f4e00
Docs: image style demo. [skip ci]
godai78 May 14, 2021
938f24e
Clean up.
oleq May 14, 2021
2fd8ed3
Clean up.
oleq May 14, 2021
331cbb5
Clean up.
oleq May 14, 2021
0277871
Clean up.
oleq May 14, 2021
675c816
Docs clean up.
oleq May 14, 2021
b078672
Clean up.
oleq May 14, 2021
b8e5e84
Clean up.
oleq May 14, 2021
4f17e18
Docs: adding inlone images to image link guide. [skip ci]
godai78 May 17, 2021
85707f1
Docs: links updated; image toolbar expanded. [skip ci]
godai78 May 17, 2021
466e2f7
Docs: link fix. [skip ci]
godai78 May 18, 2021
ed33f27
Added tests.
niegowski May 18, 2021
990f560
Added missing JSDoc.
niegowski May 18, 2021
c019d5c
Fixed JSDoc comment.
niegowski May 18, 2021
6c3129e
Docs: typo.
godai78 May 19, 2021
1917991
Docs: adding image insert to image upload demo. [skip ci]
godai78 May 19, 2021
16ce8ee
Docs: image upload guide fixes. [skip ci]
godai78 May 19, 2021
a8d2611
Image style command can be executed without specifying the desired st…
niegowski May 20, 2021
513770a
Fixed MD formatting.
niegowski May 20, 2021
9b873e1
Merge pull request #9707 from ckeditor/i/9246-rename-image-imageblock
niegowski May 20, 2021
a17578e
Merge branch 'i/2052-inline-images' into cf/4009
niegowski May 20, 2021
6bde6ae
Tests updated to upstream changes.
niegowski May 20, 2021
36384ab
Docs: link fixes. [skip ci]
godai78 May 21, 2021
8c46494
Image styles - iteration 1.
May 17, 2021
624dc08
Semantical styles - example
May 20, 2021
b19cebc
ImageStyle sample - figcaptions + responsiveness.
May 21, 2021
2afbb03
Hide default image styles.
May 21, 2021
2639fb2
Docs: subfeatures overview; link fix. [skip ci]
godai78 May 21, 2021
f305a83
Docs: images overview; link fix. [skip ci]
godai78 May 21, 2021
ded26d8
Merge pull request #9675 from ckeditor/cf/4009
May 24, 2021
7d9acc0
Merge branch 'master' into i/2052-inline-images
niegowski May 24, 2021
7ebd36b
Docs: image styled demo content. [skip ci]
godai78 May 24, 2021
e195397
Separate styles for the editors. [skip ci]
May 24, 2021
61ec267
Image styles docs improvements. [skip ci]
May 24, 2021
af594ad
Docs: keyboard shortcut fix. [skip ci]
godai78 May 27, 2021
1f185ed
Docs: migration guide relink; update marker. [skip ci]
godai78 May 31, 2021
82737cf
Merge branch 'master' into i/2052-inline-images
oleq May 31, 2021
f5dcce9
Merge branch 'i/2052-inline-images' into i/8591-inline-images-guide
oleq May 31, 2021
4a3b936
Docs: replace image in alt text demo; fix links in HTML output overvi…
godai78 Jun 1, 2021
02a3374
Merge branch 'master' into i/2052-inline-images
oleq Jun 1, 2021
5d894fe
Merge branch 'i/2052-inline-images' into i/8591-inline-images-guide
oleq Jun 1, 2021
3f6bb6a
Docs.
oleq Jun 1, 2021
f7d9947
Docs.
oleq Jun 1, 2021
55b86f8
Merge pull request #9656 from ckeditor/i/8591-inline-images-guide
oleq Jun 1, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2118,7 +2118,7 @@ Other releases:

## [12.4.0](https://github.com/ckeditor/ckeditor5/compare/v12.3.1...v12.4.0) (2019-08-26)

This release brings a huge set of new features: [image resizing](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/image.html#resizing-images), [to-do lists](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/todo-lists.html), [support for RTL languages](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/ui-language.html), [simple upload adapter](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/image-upload/simple-upload-adapter.html), [support for pasting from Google Docs](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/paste-from-office/paste-from-google-docs.html), [mathematic formulas](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/mathtype.html), and [spelling and grammar checking](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/spell-checker.html). In addition to that, as always, it contains many improvements and bug fixes.
This release brings a huge set of new features: [image resizing](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/image.html#resizing-images), [to-do lists](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/todo-lists.html), [support for RTL languages](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/ui-language.html), [simple upload adapter](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/images/image-upload/simple-upload-adapter.html), [support for pasting from Google Docs](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/paste-from-office/paste-from-google-docs.html), [mathematic formulas](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/mathtype.html), and [spelling and grammar checking](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/spell-checker.html). In addition to that, as always, it contains many improvements and bug fixes.

Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v12.4.0-with-image-resizing-to-do-lists-RTL-language-support-and-more/

Expand Down
4 changes: 4 additions & 0 deletions docs/_snippets/build-classic-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@
/* globals window */

import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor';
import ImageInsert from '@ckeditor/ckeditor5-image/src/imageinsert';
import AutoImage from '@ckeditor/ckeditor5-image/src/autoimage';

window.ClassicEditor = ClassicEditor;
ClassicEditor.builtinPlugins.push( ImageInsert );
ClassicEditor.builtinPlugins.push( AutoImage );
2 changes: 1 addition & 1 deletion docs/_snippets/examples/balloon-block-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h2>Taj Mahal: A breathtaking ode to love</h2>

<figure class="image image-style-side" height="400">
<img src="%BASE_PATH%/assets/img/tajmahal.jpg" alt="Taj Mahal illustration.">
<img src="%BASE_PATH%/assets/img/tajmahal.jpg" srcset="%BASE_PATH%/assets/img/tajmahal.jpg, %BASE_PATH%/assets/img/tajmahal_2x.jpg 2x" alt="Taj Mahal illustration.">
<figcaption>Taj Mahal with its poetic white marble tomb</figcaption>
</figure>

Expand Down
4 changes: 2 additions & 2 deletions docs/_snippets/examples/classic-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ <h2>The three greatest things you learn from traveling</h2>

<p>Like all the great things on earth traveling teaches us by example. Here are some of the most precious lessons I’ve learned over the years of traveling.</p>

<figure class="image image-style-side"><img src="%BASE_PATH%/assets/img/volcano.jpg" alt="A lone wanderer looking at Mount Bromo volcano in Indonesia.">
<figure class="image image-style-side"><img src="%BASE_PATH%/assets/img/volcano.jpg" srcset="%BASE_PATH%/assets/img/volcano.jpg, %BASE_PATH%/assets/img/volcano_2x.jpg 2x" alt="A lone wanderer looking at Mount Bromo volcano in Indonesia.">
<figcaption>Leaving your comfort zone might lead you to such beautiful sceneries like this one.</figcaption>
</figure>

Expand All @@ -25,7 +25,7 @@ <h3>Improvisation</h3>
<li>start your adventure</li>
</ul>

<figure class="image image-style-side"><img src="%BASE_PATH%/assets/img/umbrellas.jpg" alt="Three Monks walking on ancient temple.">
<figure class="image image-style-side"><img src="%BASE_PATH%/assets/img/umbrellas.jpg" srcset="%BASE_PATH%/assets/img/umbrellas.jpg, %BASE_PATH%/assets/img/umbrellas_2x.jpg 2x" alt="Three Monks walking on ancient temple.">
<figcaption>Leaving your comfort zone might lead you to such beautiful sceneries like this one.</figcaption>
</figure>

Expand Down
3 changes: 2 additions & 1 deletion docs/_snippets/examples/document-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ <h3 style="text-align:center;">Welcome letter</h3>

<p>Dear Guest,</p>
<p>We are delighted to welcome you to the annual <i>Flavorful Tuscany Meetup</i> and hope you will enjoy the programme as well as your stay at the <a href="http://ckeditor.com">Bilancino Hotel</a>.</p>
<figure class="image"><img src="%BASE_PATH%/assets/img/malta.jpg" srcset="%BASE_PATH%/assets/img/malta.jpg, %BASE_PATH%/assets/img//malta_2x.jpg 2x" alt="Bilancino Hotel" /><figcaption>Bilancino Hotel</figcaption></figure>
<p>Please find below the full schedule of the event.</p>

<figure class="table">
Expand Down Expand Up @@ -52,7 +53,7 @@ <h3 style="text-align:center;">Welcome letter</h3>
<p>Please arrive at the <a href="http://ckeditor.com">Bilancino Hotel</a> reception desk <span style="background-color:hsl(60, 75%, 60%)">at least half an hour earlier</span> to make sure that the registration process goes as smoothly as possible.</p>

<p>We look forward to welcoming you to the event.</p>

<p><img class="image_resized" style="width: 180px;" src="https://c.cksource.com/a/1/img/docs/signature.png" alt="Victoria Valc signature" /></p>
<p><strong>Victoria Valc</strong></p>
<p><strong>Event Manager</strong></p>
<p><strong>Bilancino Hotel</strong></p>
Expand Down
7 changes: 1 addition & 6 deletions docs/_snippets/examples/document-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,11 @@
/* globals console, window, document */

import DecoupledEditor from '@ckeditor/ckeditor5-build-decoupled-document/src/ckeditor';
import ImageResize from '@ckeditor/ckeditor5-image/src/imageresize';
import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-services-config';

DecoupledEditor
.create( document.querySelector( '.document-editor__editable' ), {
extraPlugins: [ ImageResize ],
cloudServices: CS_CONFIG,
image: {
toolbar: [ 'imageTextAlternative', '|', 'imageStyle:alignLeft', 'imageStyle:full', 'imageStyle:alignRight' ]
}
cloudServices: CS_CONFIG
} )
.then( editor => {
const toolbarContainer = document.querySelector( '.document-editor__toolbar' );
Expand Down
2 changes: 1 addition & 1 deletion docs/_snippets/examples/inline-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h3>Destination of the Month</h3>
<h4>Valletta</h4>

<figure class="image image-style-align-right" style="width: 50%;">
<img alt="Picture of a sunlit facade of a Maltan building." src="%BASE_PATH%/assets/img/malta.jpg">
<img alt="Picture of a sunlit facade of a Maltan building." src="%BASE_PATH%/assets/img/malta.jpg" srcset="%BASE_PATH%/assets/img/malta.jpg, %BASE_PATH%/assets/img/malta_2x.jpg 2x">
<figcaption>It's siesta time in Valletta.</figcaption>
</figure>

Expand Down
29 changes: 4 additions & 25 deletions docs/_snippets/examples/inline-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
/* globals console, window, document */

import InlineEditor from '@ckeditor/ckeditor5-build-inline/src/ckeditor';
import ImageResize from '@ckeditor/ckeditor5-image/src/imageresize';
import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-services-config';

const inlineInjectElements = document.querySelectorAll( '#snippet-inline-editor [data-inline-inject]' );
Expand Down Expand Up @@ -34,33 +33,13 @@ Array.from( inlineInjectElements ).forEach( inlineElement => {
];
config.toolbar.items = [ 'heading', '|', 'bold', 'italic', 'link' ];
} else {
config.extraPlugins = [ ImageResize ];
config.image = {
resizeOptions: [
{
name: 'resizeImage:original',
label: 'Original',
value: null
},
{
name: 'resizeImage:50',
label: '50%',
value: '50'
},
{
name: 'resizeImage:75',
label: '75%',
value: '75'
}
],
styles: [ 'full', 'alignLeft', 'alignRight' ],
toolbar: [
'imageStyle:alignLeft',
'imageStyle:full',
'imageStyle:alignRight',
'|',
'resizeImage',
'imageStyle:inline',
'imageStyle:wrapText',
'imageStyle:breakText',
'|',
'toggleImageCaption',
'imageTextAlternative'
]
};
Expand Down
2 changes: 1 addition & 1 deletion docs/_snippets/examples/multi-root-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h3>Destination of the Month</h3>
<h4>Valletta</h4>

<figure class="image image-style-side">
<img alt="Picture of a sunlit facade of a Maltan building." src="%BASE_PATH%/assets/img/malta.jpg">
<img alt="Picture of a sunlit facade of a Maltan building." src="%BASE_PATH%/assets/img/malta.jpg" srcset="%BASE_PATH%/assets/img/malta.jpg, %BASE_PATH%/assets/img/malta_2x.jpg 2x">
<figcaption>It's siesta time in Valletta.</figcaption>
</figure>

Expand Down
6 changes: 3 additions & 3 deletions docs/_snippets/examples/multi-root-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,9 @@ MultirootEditor
'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'uploadImage', 'blockQuote',
'insertTable', 'mediaEmbed', 'undo', 'redo' ],
image: {
toolbar: [ 'imageTextAlternative', '|', 'imageStyle:full',
'imageStyle:side' ],
styles: [ 'full', 'side' ]
toolbar: [
'imageStyle:inline', 'imageStyle:full', 'imageStyle:side', '|', 'toggleImageCaption', 'imageTextAlternative'
]
},
table: {
contentToolbar: [
Expand Down
12 changes: 4 additions & 8 deletions docs/_snippets/features/mathtype.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,12 @@ ClassicEditor
viewportTopOffset: window.getViewportTopOffsetConfig()
},
image: {
styles: [
'full',
'alignLeft',
'alignRight'
],
toolbar: [
'imageStyle:alignLeft',
'imageStyle:full',
'imageStyle:alignRight',
'imageStyle:inline',
'imageStyle:wrapText',
'imageStyle:breakText',
'|',
'toggleImageCaption',
'imageTextAlternative'
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/_snippets/features/toolbar-breakpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ClassicEditor
viewportTopOffset: window.getViewportTopOffsetConfig()
},
image: {
toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:inline', 'imageStyle:full', 'imageStyle:side', '|', 'toggleImageCaption', 'imageTextAlternative' ]
},
codeBlock: {
languages: [
Expand Down
2 changes: 1 addition & 1 deletion docs/_snippets/features/toolbar-grouping.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ClassicEditor
viewportTopOffset: window.getViewportTopOffsetConfig()
},
image: {
toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:inline', 'imageStyle:full', 'imageStyle:side', '|', 'toggleImageCaption', 'imageTextAlternative' ]
},
codeBlock: {
languages: [
Expand Down
2 changes: 1 addition & 1 deletion docs/_snippets/features/toolbar-wrapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ClassicEditor
viewportTopOffset: window.getViewportTopOffsetConfig()
},
image: {
toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ]
toolbar: [ 'imageStyle:inline', 'imageStyle:full', 'imageStyle:side', '|', 'toggleImageCaption', 'imageTextAlternative' ]
},
codeBlock: {
languages: [
Expand Down
12 changes: 4 additions & 8 deletions docs/_snippets/features/wproofreader.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,12 @@ ClassicEditor
viewportTopOffset: window.getViewportTopOffsetConfig()
},
image: {
styles: [
'full',
'alignLeft',
'alignRight'
],
toolbar: [
'imageStyle:alignLeft',
'imageStyle:full',
'imageStyle:alignRight',
'imageStyle:inline',
'imageStyle:wrapText',
'imageStyle:breakText',
'|',
'toggleImageCaption',
'imageTextAlternative'
]
},
Expand Down
Binary file modified docs/assets/img/fields.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/fields_2x.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/img/malta.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/malta_2x.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/img/tajmahal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/tajmahal_2x.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/img/umbrellas.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/umbrellas_2x.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/img/volcano.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/volcano_2x.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/assets/snippet-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@
margin-top: 0;
}

/*
.ck.ck-content > :not(.ck-fake-selection-container):last-of-type {
margin-bottom: 0;
}
*/

/* Override default Umberto's styles because they apply margins to media embed widgets with iframe
previews breaking their structure. */
Expand Down
2 changes: 2 additions & 0 deletions docs/builds/guides/development/dll-builds.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,11 @@ For example:
},
image: {
toolbar: [
'imageStyle:inline',
'imageStyle:full',
'imageStyle:side',
'|',
'toggleImageCaption',
'imageTextAlternative'
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/builds/guides/development/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ order: 20

Features in CKEditor are introduced by plugins. In fact, without plugins CKEditor is an empty API with no use. The builds provided with CKEditor 5 are actually predefined collections of plugins, put together to satisfy specific needs.

Plugins provided by the CKEditor core team are available in [npm](https://www.npmjs.com/search?q=ckeditor5) (and [GitHub](https://github.com/ckeditor?utf8=%E2%9C%93&q=ckeditor5&type=&language=), too) in form of npm packages. A package may contain one or more plugins (e.g. the [`@ckeditor/ckeditor5-image`](https://www.npmjs.com/package/@ckeditor/ckeditor5-image) package contains {@link features/image several granular plugins}).
Plugins provided by the CKEditor core team are available in [npm](https://www.npmjs.com/search?q=ckeditor5) (and [GitHub](https://github.com/ckeditor?utf8=%E2%9C%93&q=ckeditor5&type=&language=), too) in form of npm packages. A package may contain one or more plugins (e.g. the [`@ckeditor/ckeditor5-image`](https://www.npmjs.com/package/@ckeditor/ckeditor5-image) package contains {@link features/images-overview several granular plugins}).

## Common use cases

Expand Down
2 changes: 1 addition & 1 deletion docs/builds/guides/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ By default, CKEditor 5 has no global registry of editor instances. But if necess

## How to enable image drag&drop and upload? Where should I start?

The {@link features/image Image} and {@link features/image-upload Image upload} features are enabled by default in all editor builds. However, to fully enable image upload when installing CKEditor 5 you need to configure one of the available upload adapters. Check out the {@link features/image-upload comprehensive "Image upload" guide} to find out the best image upload strategy for your project.
The {@link features/images-overview Image} and {@link features/image-upload Image upload} features are enabled by default in all editor builds. However, to fully enable image upload when installing CKEditor 5 you need to configure one of the available upload adapters. Check out the {@link features/image-upload comprehensive "Image upload" guide} to find out the best image upload strategy for your project.

## How to use CKEditor 5 with frameworks (Angular, React, Vue, etc.)?

Expand Down
4 changes: 4 additions & 0 deletions docs/builds/guides/integration/advanced-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,11 @@ ClassicEditor.defaultConfig = {
},
image: {
toolbar: [
'imageStyle:inline',
'imageStyle:full',
'imageStyle:side',
'|',
'toggleImageCaption',
'imageTextAlternative'
]
},
Expand Down Expand Up @@ -351,9 +353,11 @@ ClassicEditor
],
image: {
toolbar: [
'imageStyle:inline',
'imageStyle:full',
'imageStyle:side',
'|',
'toggleImageCaption',
'imageTextAlternative'
]
}
Expand Down
2 changes: 1 addition & 1 deletion docs/builds/guides/integration/content-styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ order: 80

# Content styles

Some of the {@link features/index core editor features} bring additional CSS to control the look of the content they produce. Take, for example, the {@link features/image image feature} that needs special content styles to render images and their captions in the content. Or the {@link module:block-quote/blockquote~BlockQuote block quote} feature that displays quotes in italic with a subtle border on the side.
Some of the {@link features/index core editor features} bring additional CSS to control the look of the content they produce. Take, for example, the {@link features/images-overview image feature} that needs special content styles to render images and their captions in the content. Or the {@link module:block-quote/blockquote~BlockQuote block quote} feature that displays quotes in italic with a subtle border on the side.

{@img assets/img/builds-content-styles.png 823 Editor content styles.}

Expand Down
Loading