Copying a piece of text with a picture will appear, resulting in an additional space at the bottom of the picture
I hide it through CSS style sheet, but I don’t know if it will cause other problems
thanks
Copying a piece of text with a picture will appear, resulting in an additional space at the bottom of the picture
I hide it through CSS style sheet, but I don’t know if it will cause other problems
thanks
You appear to be styling an element that counts as inline in your ProseMirror schema as a block in HTML. That’s probably the root of the problem—try to make your element a block element in the schema if it should be one, or else make sure it is styled inline (by for example making it display: inline-block
).
I mean, can I hide this class attribute