ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Design image style, alignment, and caption icons

Open oleq opened this issue 5 years ago • 3 comments

The new UX means a new set of icons. Let's keep in mind that alignment icons should be re-usable across features such as table alignment (current), media (future), html-embed (future).

oleq avatar Jan 25 '21 11:01 oleq

Feedback from our pilotusers:

  • When pasting images, the images should be automatically left-aligned.
  • When we choose to set images to the left, the text below the image is moved to the right side of the image. We must then move this text down again. Possible to correct this? Have an option to right align and text is over or underneath the image.
  • When pasting several pictures one after the other (below each other), there will be a lot of space in between. It is desirable that the pictures can be placed right after each other without any space between to save space. Able to remove the picture-text space when we do not use the picture-text.

jensen-lin avatar Feb 15 '21 10:02 jensen-lin

@jensen-lin thank you for your feedback.
* It is possible to change the text wrapping behavior simply by adjusting the CSS class behavior. You can address the .ck-content .image-style-align-left selector and give it the following properties:
float: none;
margin-right: auto;
margin-left: 0;
We are also working on putting this in the default image styles.
* Reducing the space between the images can be done a similar way, by resetting the margins for the .ck-content .image selector.

magda-chrzescian avatar Mar 02 '21 15:03 magda-chrzescian

Closed in https://github.com/ckeditor/ckeditor5/pull/8991.

oleq avatar Mar 09 '21 09:03 oleq