Issue With Quill Editor Alignment #4165
Unanswered
amrutakawale
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I gave default alignment for editor is centre by using querySelctor like this:
const defaultTextAlignment = "center";
const editorContent = document.querySelector(".ql-editor");
if (editorContent) {
editorContent.style.textAlign = defaultTextAlignment;
}
But if I want to change the text alignment to left by using toolbar option, it won't work.
How to apply text align left on top of it?
Beta Was this translation helpful? Give feedback.
All reactions