This is a migrated thread and some comments may be shown as answers.

No way to put margin on image

1 Answer 9 Views
Editor
This is a migrated thread and some comments may be shown as answers.
JohnVS
Top achievements
Rank 1
JohnVS asked on 05 May 2014, 03:46 PM
As you can see in the attached screenshot, when you insert an image into the Editor, align it to the right, then add in lots of text, the text runs right up to the image's edge. It obviously looks terrible. In other WYSIWYG editors, like CKEditor (see other attachment), they allow "HSpace" and "VSpace," which adds margin to the image. Is there a way to do this with the Kendo Editor (outside of manually coding it, since our users won't know how to do that)?

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 06 May 2014, 11:05 AM
Hello John,

You can provide a stylesheet (that declares these styles) to the editor through the stylesheets configuration option. This way all images will have consistent spacing, and your users will not have to decide how much spacing will be consistent with the site.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Editor
Asked by
JohnVS
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or