gpt4 book ai didi

javascript - Summernote 中的图标有什么问题?我看不到他们

转载 作者:行者123 更新时间:2023-11-28 05:54:20 24 4
gpt4 key购买 nike

供您引用,我的项目是使用 Framework Laravel 5.2 构建的,我在项目中使用 Summernote 作为 WYSIWYG 文本编辑器...

问题是...我看不到文本编辑器的图标...这是脚本:

  <script type="text/javascript" src="/js/summernote.js"> </script>
<script>
$(document).ready(function() {
$('#summernote').summernote({
height: 300,
minHeight:null,
maxHeight:null,
focus:true
});
});
</script>

...这是 php 上的 ID...

 @extends('layouts.app')
@section('content')
<div class="container">
<div id="summernote">

</div>
</div>

@endsection

最佳答案

在使用 Summernote CSS 之前先使用 font Awesome 即可。

您可以使用CDN:

<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">

关于javascript - Summernote 中的图标有什么问题?我看不到他们,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37826936/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com