Replies: 2 comments
-
I have been wondering the same thing. One way that I saw would be to assign a class name to the paragraph type in the EditorConfig theme property . Then you can use that class name in CSS to apply styles. |
Beta Was this translation helpful? Give feedback.
0 replies
-
may be it should work ?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been reading the documentation and other Q&A and issues and haven't really found out a way to set the style for ParagraphNode, is there a mechanism or approach I can take to force a specific style on the ParagraphNode without having to create a new CustomParagraphNode?
E.g. If I have a ParagraphNode with a TextNode:
Is there a way for me to insert a dynamic
line-height
to the Paragraph tag and have something like:Is there a function like setFormat or setIndent that could help me update the lineHeight of the entire parent node?
Beta Was this translation helpful? Give feedback.
All reactions