Split with attributes

Hi,

In transform/split.js line 16:

let cut = [parent.copy(), step.param ? step.param.type.create(step.attrs) : parent.copy()]

shouldn’t the node creation call be

step.param.type.create(step.param.attrs)

the step itself doesn’t attributes, but we want the attributes passed in for the new node, no?

Thanks, Boris

You’re entirely right. Fixed in this patch.