E
E
Eugene2018-05-23 15:18:25
WYSIWYG
Eugene, 2018-05-23 15:18:25

Is there an editor similar to CKeditor with normal image loading and config?

I tried to use CKEditor + Elfinder for the project and came across the fact that you can upload an image in the editor itself, but there is no centering, but only left right alignment. With my hands, when loading, I add images of 2 classes Responsive + block-center.
And I give the project to people and they won’t add classes by hand like this) Therefore, I want to set each picture to have these 2 classes in the stock by default.
I dug JS library CKEditor. It's still in minified format. They did a deminification (23 thousand lines) but did not find what I needed.
Maybe someone knows a good analogue, where work with images is better implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2018-05-23
@webinar

left right alignment only

Are you familiar with css? In css there is float:left;and float:right;is not in css float: center;
Therefore, they use text-align:center;it and it probably is in your editor. Only in the block of text formatting buttons, where it belongs. The situation will be the same in other editors.
Why hands?
https://docs.ckeditor.com/ckeditor4/latest/guide/d...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question