diff --git a/app/templates/_page_editor_content.html b/app/templates/_page_editor_content.html
index 5291c28..0d37405 100644
--- a/app/templates/_page_editor_content.html
+++ b/app/templates/_page_editor_content.html
@@ -510,4 +510,4 @@
>
-
\ No newline at end of file
+
diff --git a/app/templates/_page_editor_scripts.html b/app/templates/_page_editor_scripts.html
new file mode 100644
index 0000000..eab25fe
--- /dev/null
+++ b/app/templates/_page_editor_scripts.html
@@ -0,0 +1,480 @@
+
+
diff --git a/app/templates/page_editor.html b/app/templates/page_editor.html
index 7768a76..f389d96 100644
--- a/app/templates/page_editor.html
+++ b/app/templates/page_editor.html
@@ -5,486 +5,7 @@ page_title %}{{ page.title }}{% endblock %} {% block topbar %}
{% set right_actions = 'Edited ▾' %}
{% include '_header.html' %}
{% endblock %} {% block content %}
-{% include '_page_editor_content.html' %}
+{% include "_page_editor_content.html" %}
{% endblock %} {% block scripts %}
-
-
+{% include "_page_editor_scripts.html" %}
{% endblock %}
diff --git a/app/templates/page_editor_embed.html b/app/templates/page_editor_embed.html
index e4fccbd..db93a57 100644
--- a/app/templates/page_editor_embed.html
+++ b/app/templates/page_editor_embed.html
@@ -7,401 +7,5 @@
{% endblock %}
{% block scripts %}
-
-
+{% include '_page_editor_scripts.html' %}
{% endblock %}