Prosemirror does not handle emptystring classes well for decorations when the decoration applies to a range that has other decorations. For example, both a spellchecking plugin and the tiptap highlighting plugin.
Furthermore, there is no reason to emit empty decorations, so this change resolves that issue as well.