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
and set the hh1 in the initialValue to align="center".
As you see, while the h1 is indeed centered when I type to it, the placeholder is not. I want the placeholder to also follow the element's alignment (left-center-right-justify) as well, how should I do that?
Not sure if the behaviour in the CodeSandbox is intended, so I chose to ask this question instead of opening an issue – please tell if I should go to the issue tracker instead.
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
-
This Codesandbox is a fork of the placeholder example on the website. I simply added the align plugin
and set the
hh1
in theinitialValue
toalign="center"
.As you see, while the h1 is indeed centered when I type to it, the placeholder is not. I want the placeholder to also follow the element's alignment (left-center-right-justify) as well, how should I do that?
Not sure if the behaviour in the CodeSandbox is intended, so I chose to ask this question instead of opening an issue – please tell if I should go to the issue tracker instead.
Beta Was this translation helpful? Give feedback.
All reactions