Regarding the issue of applying both font size and strikethrough marks simultaneously

I’ve implemented two marks, one for setting font size and another for setting strikethrough. When they are used independently, everything works fine. However, when I apply both of these marks to a piece of text simultaneously, why does the <s> always wrap the<span>, resulting in undesired styling? Can anyone help me with this?

图片

The wrapping order of marks is fixed by the schema. You can change their order in your schema definition to change it.

1 Like

Thank you, Master. Your method is very useful :heart: