How can I make text align and font-size ? #180
-
I was tried using thank you so much, your lib is amazing |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I found 1 solution using custom mark. Select text and press const CUSTOM_CENTER_MARK = createYooptaMark<SuperscriptMarkProps>({
type: 'center',
render: (props) => {
return <div className="text-center">{props.children}</div>;
},
hotkey: 'mod+p'
}) |
Beta Was this translation helpful? Give feedback.
-
Hey @zoom2009 It's available in version Check out it in example: https://yoopta.dev/examples/withBaseFullSetup |
Beta Was this translation helpful? Give feedback.
Hey @zoom2009
Just added alignment support for blocks.
It's available in version
v4.6.2
.Now you can change align using toolbar.
For void blocks (Image, Video, File, Embed) it's available in dots options
Check out it in example: https://yoopta.dev/examples/withBaseFullSetup