You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (charInfo.formats['bold'] == true) {
quillController.formatText(position, 1, Attribute.bold);
}
if (charInfo.formats['italic'] == true) {
quillController.formatText(position, 1, Attribute.italic);
}
if (charInfo.formats['underline'] == true) {
quillController.formatText(position, 1, Attribute.underline);
}
I want to modify the style of a certain letter, but when I use quillController.formatText to modify a letter and make it bold, the bold button on the toolbar is also highlighted, causing subsequent letters to be bold by default.
73023bc39497797f722277427859e0e1.mp4
How to avoid affecting the global style after modifying the letter style?