Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Fix TinyMce campaign editor toolbar to the top on scroll. Closes #549.

Kailash Nadhf39ee4e783d8
diff --git a/frontend/src/assets/style.scss b/frontend/src/assets/style.scss
index d3556710..cc6d20f4 100644
--- a/frontend/src/assets/style.scss
+++ b/frontend/src/assets/style.scss
@@ -230,6 +230,11 @@ body.is-noscroll {
.tox .tox-statusbar {
border: 0;
}
+
+ .tox-tinymce--toolbar-sticky-on .tox-editor-header {
+ padding-top: 48px !important;
+ }
+
}
diff --git a/frontend/src/components/Editor.vue b/frontend/src/components/Editor.vue
index c59e3515..d07bf75b 100644
--- a/frontend/src/components/Editor.vue
+++ b/frontend/src/components/Editor.vue
@@ -60,7 +60,6 @@
</footer>
</div>
</b-modal>
-
</template>
<!-- raw html editor //-->
@@ -211,6 +210,7 @@ export default {
},
min_height: 500,
+ toolbar_sticky: true,
entity_encoding: 'raw',
convert_urls: true,
plugins: [