Answer the question
In order to leave comments, you need to log in
Summernote not saving OpenCart 2.x text?
Summernote does not save the text in the description of the manufacturers, but in the rest of the sections everything is ok. There is text in the input itself (added via PhpMyAdmin), but it is not displayed in the summernote editor itself. If you start typing, it is visible, but after saving it disappears and nothing arrives in the database.
Answer the question
In order to leave comments, you need to log in
Keep a crutch on js
$(document).ready(function() {
$(".note-editable").html($("#input-description").val());
$(".note-editable").keyup(function(event) {
$("#input-description").attr("value", $(this).html());
});
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question