aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/requests/link_checker.py1
-rw-r--r--wqflask/wqflask/templates/docedit.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/requests/link_checker.py b/test/requests/link_checker.py
index 8e7746b3..a335adf5 100644
--- a/test/requests/link_checker.py
+++ b/test/requests/link_checker.py
@@ -117,6 +117,7 @@ def check_packaged_js_files(args_obj, parser):
"/js/nvd3/nv.d3.min.css",
"/js/qtip2/jquery.qtip.min.js",
"/js/js_alt/md5.min.js",
+ "/js/ckeditor/ckeditor.js",
"/js/jszip/jszip.min.js",
"/js/jscolor/jscolor.js",
"/js/DataTables/js/jquery.js",
diff --git a/wqflask/wqflask/templates/docedit.html b/wqflask/wqflask/templates/docedit.html
index b87c5b41..50bb96c0 100644
--- a/wqflask/wqflask/templates/docedit.html
+++ b/wqflask/wqflask/templates/docedit.html
@@ -16,7 +16,7 @@
{{content|safe}}
</textarea>
<button class="submit_changes" style="margin-top: 20px;">Submit Changes</button>
- <script src="/static/packages/ckeditor/ckeditor.js"></script>
+ <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='ckeditor/ckeditor.js') }}"></script>
<script type="text/javascript">
CKEDITOR.replace('ckcontent', {
height: '650px',