_wrapInlineElementsIntoBlockElement (childIterator) {
    if (!childIterator.hasNext()) return

    const dom = childIterator.peek().getOwnerDocument()
    const wrapper = dom.createElement('wrapper')
    while (childIterator.hasNext()) {
      const el = childIterator.next()
      // if there is a block node we finish this wrapper
      const blockTypeConverter = this._getConverterForElement(el, 'block')
      if (blockTypeConverter) {
        childIterator.back()
        break
      }
      wrapper.append(el.clone())
    }
    const converter = DefaultTextConverter
    const id = this._getNextId(dom, 'text')
    let nodeData = { type: '@text', id }
    this.state.pushContext('wrapper', converter)
    nodeData = converter.import(wrapper, nodeData, this) || nodeData
    const context = this.state.popContext()
    const annos = context.annos
    // create the node
    const node = this._createNode(nodeData)
    // and all annos which have been created during this call
    annos.forEach((a) => {
      this._createNode(a)
    })
    return node
  }
Wraps the remaining (inline) elements of a node iterator into a default
block node.

@param {DOMImporter.ChildIterator} childIterator
@returns {object} node data