Answer the question
In order to leave comments, you need to log in
CkEditor Django library change?
How to add an attribute when adding an image?
So I add an image and with pens in the source (in the form itself) I need to add a class="img-responisve" г
de find code so that when adding an image, it doesn’t write,
but writes<img src="folder/asdasd.png">
<img class="img-responisve" src="folder/asdasd.png">
Answer the question
In order to leave comments, you need to log in
$(document).ready(function() {
$('img').addClass('img-responisve');
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question