0
I’m dynamically adding the summernote down in green. I’m actually cloning the ones above. Of course I’d have a problem with that otherwise it wouldn’t be programming. The functions of the added editors do not work. Would someone tell me what I should do to get around such a problem?
I’m using the code below to add it.
$(document).on('click', '.adicionar', function() {
var content = $("#perguntas_formatadas").html();
$("#clone_perguntas_formatadas").append(content);
$("#clone_perguntas_formatadas .form-group").attr("data-remove", 1);
});
Have you tried re-applying summernote to the cloned element? Something like
$('#clone_perguntas_formatadas').summernote();
– Isac