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
I'm brand new to this library. As the title says, I'm looking for a way to determine the text alignment (left, center, right, justify) from the results of $getSelection() - or something else, if it cannot be retrieved through that method.
I would like to change the active alignment's Toolbar button to "active" when the cursor is on a node that has the corresponding text alignment, but I'm not finding a way to.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm brand new to this library. As the title says, I'm looking for a way to determine the text alignment (left, center, right, justify) from the results of $getSelection() - or something else, if it cannot be retrieved through that method.
I would like to change the active alignment's Toolbar button to "active" when the cursor is on a node that has the corresponding text alignment, but I'm not finding a way to.
Beta Was this translation helpful? Give feedback.
All reactions