You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using your editor in a bootstrap modal, but it doesn't format the text when opened, so all i see is regular text without linebreaks or white spaces. Is there anyway to format the text, so it looks correct in the editor on show?
This is the code i use for opening the editor:
$("#myModal").on("shown.bs.modal", function () {
$('#textarea2').wysihtml5();
$('#textarea2').html($( "#info" ).text());
});
$('#myModal').on('hidden.bs.modal', function () {
$('.wysihtml5-sandbox, .wysihtml5-toolbar').remove();
$('#textarea2').show();
});
});
//Kenneth
The text was updated successfully, but these errors were encountered:
I'm using your editor in a bootstrap modal, but it doesn't format the text when opened, so all i see is regular text without linebreaks or white spaces. Is there anyway to format the text, so it looks correct in the editor on show?
This is the code i use for opening the editor:
});
});
//Kenneth
The text was updated successfully, but these errors were encountered: