opt:优化summernote弹窗模块的基准位置
This commit is contained in:
parent
e0f091819b
commit
4f79bc4c24
|
|
@ -0,0 +1,4 @@
|
|||
/*让编辑器点击toolbar时的弹出模块位置以编辑器为基准*/
|
||||
.modal.in {
|
||||
position: absolute;
|
||||
}
|
||||
|
|
@ -90,6 +90,9 @@
|
|||
<link th:href="@{/ajax/libs/summernote/summernote.css}" rel="stylesheet"/>
|
||||
<link th:href="@{/ajax/libs/summernote/summernote-bs3.css}" rel="stylesheet"/>
|
||||
</div>
|
||||
<div th:fragment="summernote-css-opt">
|
||||
<link th:href="@{/ajax/libs/summernote/summernote-opt.css}" rel="stylesheet"/>
|
||||
</div>
|
||||
<div th:fragment="summernote-js">
|
||||
<script th:src="@{/ajax/libs/summernote/summernote.min.js}"></script>
|
||||
<script th:src="@{/ajax/libs/summernote/summernote-zh-CN.js}"></script>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<th:block th:include="include :: header('新增通知公告')" />
|
||||
<th:block th:include="include :: summernote-css" />
|
||||
<th:block th:include="include :: summernote-css-opt" />
|
||||
</head>
|
||||
<body class="white-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||
|
|
@ -46,7 +47,7 @@
|
|||
|
||||
$('.summernote').summernote({
|
||||
placeholder: '请输入公告内容',
|
||||
height : 192,
|
||||
height : 350,
|
||||
lang : 'zh-CN',
|
||||
followingToolbar: false,
|
||||
callbacks: {
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<th:block th:include="include :: header('修改通知公告')" />
|
||||
<th:block th:include="include :: summernote-css" />
|
||||
<th:block th:include="include :: summernote-css-opt" />
|
||||
</head>
|
||||
<body class="white-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||
|
|
@ -48,7 +49,7 @@
|
|||
$(function() {
|
||||
$('.summernote').summernote({
|
||||
placeholder: '请输入公告内容',
|
||||
height : 192,
|
||||
height : 350,
|
||||
lang : 'zh-CN',
|
||||
followingToolbar: false,
|
||||
callbacks: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue