We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dab1070 commit 5b25698Copy full SHA for 5b25698
1 file changed
com.woltlab.wcf/templates/shared_wysiwyg.tpl
@@ -14,6 +14,11 @@
14
15
document.querySelector('link[rel="stylesheet"]').before(stylesheet);
16
}
17
+
18
+ // Immediately remove the script from the DOM. This prevents any selectors
19
+ // from breaking that target the immediate sibling of the editor element.
20
+ // Furthermore, removing it makes no difference in terms of the functionality.
21
+ document.currentScript.remove();
22
23
</script>
24
<script data-relocate="true">
0 commit comments