diff --git a/files/assets/js/formatting.js b/files/assets/js/formatting.js deleted file mode 100644 index 8271ae463a..0000000000 --- a/files/assets/js/formatting.js +++ /dev/null @@ -1,57 +0,0 @@ - -function makeBold(form) { - var text = document.getElementById(form); - var startIndex = text.selectionStart, - endIndex = text.selectionEnd; - var selectedText = text.value.substring(startIndex, endIndex); - - const format = '**' - - if (selectedText.includes('**')) { - text.value = selectedText.replace(/\*/g, ''); - } - else if (selectedText.length == 0) { - text.value = text.value.substring(0, startIndex) + selectedText + text.value.substring(endIndex); - } - else { - text.value = text.value.substring(0, startIndex) + format + selectedText + format + text.value.substring(endIndex); - } -} - -function makeItalics(form) { - var text = document.getElementById(form); - var startIndex = text.selectionStart, - endIndex = text.selectionEnd; - var selectedText = text.value.substring(startIndex, endIndex); - - const format = '*' - - if (selectedText.includes('*')) { - text.value = selectedText.replace(/\*/g, ''); - } - else if (selectedText.length == 0) { - text.value = text.value.substring(0, startIndex) + selectedText + text.value.substring(endIndex); - } - else { - text.value = text.value.substring(0, startIndex) + format + selectedText + format + text.value.substring(endIndex); - } -} - -function makeQuote(form) { - var text = document.getElementById(form); - var startIndex = text.selectionStart, - endIndex = text.selectionEnd; - var selectedText = text.value.substring(startIndex, endIndex); - - const format = '>' - - if (selectedText.includes('>')) { - text.value = text.value.substring(0, startIndex) + selectedText.replace(/\>/g, '') + text.value.substring(endIndex); - } - else if (selectedText.length == 0) { - text.value = text.value.substring(0, startIndex) + selectedText + text.value.substring(endIndex); - } - else { - text.value = text.value.substring(0, startIndex) + format + selectedText + text.value.substring(endIndex); - } -} \ No newline at end of file diff --git a/files/templates/comments.html b/files/templates/comments.html index ea110c5d99..ed81aafa81 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -262,13 +262,6 @@
- -   - -   - -   -   @@ -511,13 +504,6 @@
- -   - -   - -   - diff --git a/files/templates/default.html b/files/templates/default.html index 378f91d56a..e104ba43bd 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -142,10 +142,6 @@ -{% if v %} - -{% endif %} - {% if v and v.spider %} diff --git a/files/templates/settings_profile.html b/files/templates/settings_profile.html index 69a3585123..d6a73768a7 100644 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -576,12 +576,6 @@
- -   - -   - -     @@ -650,12 +644,6 @@
- -   - -   - -     diff --git a/files/templates/submission.html b/files/templates/submission.html index cc0aaae526..e134ba1219 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -799,9 +799,6 @@
- - - @@ -984,12 +981,6 @@
- -   - -   - -   diff --git a/files/templates/submit.html b/files/templates/submit.html index dd5f4fdc27..20a0daf7e0 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -76,18 +76,6 @@ Toggle preview
- - - -   - - - -   - - - -     @@ -173,7 +161,6 @@ {% endif %} - {% include "emoji_modal.html" %} {% include "gif_modal.html" %} diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 9a30d55ca5..445410d3ab 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -211,12 +211,6 @@

 							
 							

-							
-							 
-							
-							 
-							
-							 
 							
 							 
 							
@@ -463,12 +457,6 @@
 						 
 						
 						

-						
-						 
-						
-						 
-						
-