I only need to check the top-level children / content, so using doc.content.iter()
works, right?
I’m still missing something in applying the transform. The transform object looks correct, but after calling pm.apply(transform)
the doc and DOM don’t seem to change.
Edit - transform.steps[0]
looks correct, but transform.doc
doesn’t have expected id changes.