Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

ui: make align options in editor flat

thecodrr529ef5a24066
diff --git a/apps/web/src/Components/Editor/index.js b/apps/web/src/Components/Editor/index.js
index 5bd82966e..8602cb7aa 100644
--- a/apps/web/src/Components/Editor/index.js
+++ b/apps/web/src/Components/Editor/index.js
@@ -14,7 +14,13 @@ Quill.register("modules/magicUrl", MagicUrl);
const modules = {
toolbar: [
[{ header: [1, 2, 3, 4, 5, 6] }],
- ["bold", "italic", "underline", "strike", "blockquote", { align: [] }],
+ ["bold", "italic", "underline", "strike", "blockquote"],
+ [
+ { align: "" },
+ { align: "center" },
+ { align: "right" },
+ { align: "justify" }
+ ],
[
{ list: "ordered" },
{ list: "bullet" },