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] }],
|
[{ header: [1, 2, 3, false] }],
|
||||||
["bold", "italic", "underline", "strike"],
|
["bold", "italic", "underline", "strike"],
|
||||||
[{ list: "ordered" }, { list: "bullet" }],
|
[{ list: "ordered" }, { list: "bullet" }],
|
||||||
|
[{ align: ["", "center", "right", "justify"] }],
|
||||||
["link"],
|
["link"],
|
||||||
["clean"],
|
["clean"],
|
||||||
];
|
];
|
||||||
@@ -152,6 +153,9 @@
|
|||||||
modules: { toolbar: QUILL_TOOLBAR },
|
modules: { toolbar: QUILL_TOOLBAR },
|
||||||
placeholder: field.label + " (" + lang.label + ")",
|
placeholder: field.label + " (" + lang.label + ")",
|
||||||
});
|
});
|
||||||
|
if (slug === "news") {
|
||||||
|
richEditors[field.name][lang.code].format("align", "justify");
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,13 @@
|
|||||||
<link rel="stylesheet" href="/M0n1t0r/assets/css/app.css">
|
<link rel="stylesheet" href="/M0n1t0r/assets/css/app.css">
|
||||||
{{if eq .Page "form"}}
|
{{if eq .Page "form"}}
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/quill@2.0.3/dist/quill.snow.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/quill@2.0.3/dist/quill.snow.css">
|
||||||
|
<style>
|
||||||
|
.ql-editor p { text-align: justify; }
|
||||||
|
.ql-editor .ql-align-left { text-align: left; }
|
||||||
|
.ql-editor .ql-align-center { text-align: center; }
|
||||||
|
.ql-editor .ql-align-right { text-align: right; }
|
||||||
|
.ql-editor .ql-align-justify { text-align: justify; }
|
||||||
|
</style>
|
||||||
{{end}}
|
{{end}}
|
||||||
</head>
|
</head>
|
||||||
<body class="min-h-screen bg-base-200"
|
<body class="min-h-screen bg-base-200"
|
||||||
@@ -42,7 +49,7 @@
|
|||||||
{{if eq .Page "form"}}
|
{{if eq .Page "form"}}
|
||||||
<script src="https://cdn.jsdelivr.net/npm/quill@2.0.3/dist/quill.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/quill@2.0.3/dist/quill.js"></script>
|
||||||
{{end}}
|
{{end}}
|
||||||
<script src="/M0n1t0r/assets/js/form.js"></script>
|
<script src="/M0n1t0r/assets/js/form.js?v=2"></script>
|
||||||
<script src="/M0n1t0r/assets/js/dashboard.js"></script>
|
<script src="/M0n1t0r/assets/js/dashboard.js"></script>
|
||||||
<script src="/M0n1t0r/assets/js/settings.js"></script>
|
<script src="/M0n1t0r/assets/js/settings.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -82,6 +82,23 @@ blockquote {
|
|||||||
|
|
||||||
#page-content p {
|
#page-content p {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
text-align: justify;
|
||||||
|
}
|
||||||
|
|
||||||
|
#page-content .ql-align-left {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#page-content .ql-align-center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#page-content .ql-align-right {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#page-content .ql-align-justify {
|
||||||
|
text-align: justify;
|
||||||
}
|
}
|
||||||
|
|
||||||
#page-content table {
|
#page-content table {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
|
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
|
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
|
||||||
<link rel="stylesheet" href="/css/app.css?v=1">
|
<link rel="stylesheet" href="/css/app.css?v=8">
|
||||||
|
|
||||||
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
|
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
|
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
|
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
|
||||||
<link rel="stylesheet" href="/css/app.css?v=1">
|
<link rel="stylesheet" href="/css/app.css?v=8">
|
||||||
|
|
||||||
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
|
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
|
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
|
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
|
||||||
<link rel="stylesheet" href="/css/app.css?v=7">
|
<link rel="stylesheet" href="/css/app.css?v=8">
|
||||||
|
|
||||||
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
|
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
|
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
|
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
|
||||||
<link rel="stylesheet" href="/css/app.css?v=1">
|
<link rel="stylesheet" href="/css/app.css?v=8">
|
||||||
|
|
||||||
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
|
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
|
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
|
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
|
||||||
<link rel="stylesheet" href="/css/app.css?v=1">
|
<link rel="stylesheet" href="/css/app.css?v=8">
|
||||||
|
|
||||||
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
|
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user