mirror of
https://github.com/cnodejs/nodeclub.git
synced 2025-12-08 19:55:55 +00:00
fix issue 782
This commit is contained in:
parent
6d26849330
commit
c6cc54729c
6
views/includes/editor.html
Normal file
6
views/includes/editor.html
Normal file
@ -0,0 +1,6 @@
|
||||
<%- Loader('/public/editor.min.js')
|
||||
.js('/public/libs/editor/editor.js')
|
||||
.js('/public/libs/webuploader/webuploader.withoutimage.js')
|
||||
.js('/public/libs/editor/ext.js')
|
||||
.done(assets, config.site_static_host, config.mini_assets)
|
||||
%>
|
||||
@ -46,12 +46,7 @@
|
||||
</div>
|
||||
|
||||
<!-- markdown editor -->
|
||||
<%- Loader('/public/editor.min.js')
|
||||
.js('/public/libs/editor/editor.js')
|
||||
.js('/public/libs/webuploader/webuploader.withoutimage.js')
|
||||
.js('/public/libs/editor/ext.js')
|
||||
.done(assets, config.site_static_host, config.mini_assets)
|
||||
%>
|
||||
<%- partial('../includes/editor') %>
|
||||
<script>
|
||||
(function () {
|
||||
var editor = new Editor();
|
||||
|
||||
@ -75,12 +75,7 @@
|
||||
</div>
|
||||
|
||||
<!-- markdown editor -->
|
||||
<%- Loader('/public/editor.min.js')
|
||||
.js('/public/libs/editor/editor.js')
|
||||
.js('/public/libs/webuploader/webuploader.withoutimage.js')
|
||||
.js('/public/libs/editor/ext.js')
|
||||
.done(assets, config.site_static_host, config.mini_assets)
|
||||
%>
|
||||
<%- partial('../includes/editor') %>
|
||||
<script>
|
||||
(function () {
|
||||
var editor = new Editor();
|
||||
|
||||
@ -169,12 +169,7 @@
|
||||
|
||||
<% if (current_user && typeof(topic) !== 'undefined') { %>
|
||||
<!-- markdown editor -->
|
||||
<%- Loader('/public/editor.min.js')
|
||||
.js('/public/libs/editor/editor.js')
|
||||
.js('/public/libs/webuploader/webuploader.withoutimage.js')
|
||||
.js('/public/libs/editor/ext.js')
|
||||
.done(assets, config.site_static_host, config.mini_assets)
|
||||
%>
|
||||
<%- partial('../includes/editor') %>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
// 获取所有回复者name
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user