Font Awesome 5 Pseudo
Problems with external link icon in
HTML
<script src="//code.jquery.com/jquery-3.6.0.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/summernote@0.8.20/dist/summernote-bs5.css">
<script src="https://cdn.jsdelivr.net/npm/summernote@0.8.20/dist/summernote-bs5.js"></script>
<div id="summernote"></div>
<script>
$('#summernote').summernote({
placeholder: 'Hello Bootstrap 5',
tabsize: 2,
height: 100,
toolbar: [
["content", ["style"]],
["insert", ["image", "temppo", "specialchars"]],
["style", ["bold", "italic", "underline", "clear"]],
["font", ["strikethrough", "superscript", "subscript"]],
["fontname", ["fontname", "fontsize"]],
["color", ["color"]],
["para", ["ul", "ol", "paragraph"]],
["misc", ["fullscreen", "codeview", "height"]]
]
});
</script>
CSS
a.external:after {
font-family: 'Font Awesome 5 Free';
content: '\f35d';
}
a.other:after {
font-family: 'Font Awesome 5 Free';
content: '\f152';
}