报错:使用linux的数据库。找不到某个表,但是数据库里表是存在的。     原因: linux是大小写敏感的

 

使用富文本: 浏览器缓存问题,导致不能上传

  1、导入静态资源

  2、在页面使用

            <div class="form-group">
                <!-- 加载编辑器的容器 -->
                <script >
                这里写你的初始化内容
                </script>
            </div>

            <!--ueditor的配置文件-->
            <script type="text/javascript" charset="utf-8" th:src="@{/ueditor/ueditor.config.js}"></script>
            <!--ueditor编辑器源码文件-->
            <script type="text/javascript" charset="utf-8" th:src="@{/ueditor/ueditor.all.js}"></script>

            <!-- 实例化编辑器 -->
            <script type="text/javascript">
                var x = window.rootPath;
                var ue = UE.getEditor('editor');
                ue.addListener("ready", function () {
                    // editor准备好之后才可以使用
                    // ue.setContent(content);
                    var replyContent = $("#replyContentDTO").val();
                    console.info(replyContent);
                    ue.setContent(replyContent);
                });
            </script>
View Code

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2021-04-27
  • 2021-11-23
猜你喜欢
  • 2021-11-29
  • 2021-06-12
  • 2021-05-01
  • 2021-04-10
  • 2021-06-03
  • 2021-05-11
相关资源
相似解决方案