It will wrap all inline node when add a mark on part of inline node

First of all, I define a link node with inline node schema.

and the content is:

when i select “bbbwww” and add strong mark on them. what i expect is that only the “bbbwww” will be wrapped by strong label, but actually, “” be wrapped:

Is this a correct behavior?

If you modify, in prosemirror-transform/dist/index.js, AddMarkStep's apply method to add || !node.isAtom to the if condition (there’s only one), does that fix your problem?

Yes, thank you for your reminder, it seems work. So you will release a new npm version to fix it?

Yes, prosemirror-transform 1.2.9 has the fix.