Justify news content in the editor and on public pages.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
[{ header: [1, 2, 3, false] }],
|
||||
["bold", "italic", "underline", "strike"],
|
||||
[{ list: "ordered" }, { list: "bullet" }],
|
||||
[{ align: ["", "center", "right", "justify"] }],
|
||||
["link"],
|
||||
["clean"],
|
||||
];
|
||||
@@ -152,6 +153,9 @@
|
||||
modules: { toolbar: QUILL_TOOLBAR },
|
||||
placeholder: field.label + " (" + lang.label + ")",
|
||||
});
|
||||
if (slug === "news") {
|
||||
richEditors[field.name][lang.code].format("align", "justify");
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user