Here, I am trying to align my text in a range 0-34 (i.e. one line) to left
Code snippet:
quill.formatText(0, 34, {
'color': "White",
'align': 'left',
'background-color': "Black"
}, 'api');
Expected:
After adding above code - the text from index 0 to length 34 should be aligned left inside the editor.
Actual Result:
The text remains in center.
I need help to align range of text in different alignment(left/right/center)