aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2020-12-09 14:11:27 +0300
committerGitHub2020-12-09 14:11:27 +0300
commitaf68ccc446f4228deec7eb96b5c54f672fa05373 (patch)
tree3ec743614d09dd7601ba22dde427c853776ce36a
parentd0bd308222c83004717fe4c86a2218295db28957 (diff)
parent277659a4f22877be78b50eaaad80e83282a168d0 (diff)
downloadgenenetwork2-af68ccc446f4228deec7eb96b5c54f672fa05373.tar.gz
Merge pull request #519 from Alexanderlacuna/replace-ckeditor
Replace ckeditor
-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',