Replies: 4 comments
-
Are you adding them through the source code editor? Prosemirror is really strict about what it allows unless it's specifically told to allow it. It's possible there's a bug in the php parser, too. But I need a little more insight into what you are actually doing. |
Beta Was this translation helpful? Give feedback.
-
Yea exactly, adding it to the source code editor, I'm literally just adding additional styles, so I added a colour for a part of an h2 and wanted to add a font weight and when I save the font weight disappears, I think it's the semicolon because that didn't get added after the colour by default. |
Beta Was this translation helpful? Give feedback.
-
I think the issue is that font-weight is getting processed by the Bold extension. I've tested and font-weight: 900; is getting converted to strong tags. Then the color is working fine for me. |
Beta Was this translation helpful? Give feedback.
-
@awcodes it seems like source code doesn't save, I tried adding style="display: flex; |
Beta Was this translation helpful? Give feedback.
-
e.g
<h2><span style="color: rgb(241, 111, 44); font-weight:900;"> when I add the font weight and save it clears the code
Beta Was this translation helpful? Give feedback.
All reactions