src/markdown/from_markdown.js
// using the current marks as styling.
using the current marks as styling.
using the current marks as styling .
addText(text) {
    let nodes = this.top().content, last = nodes[nodes.length - 1]
    let node = this.schema.text(text, this.marks), merged
    if (last && (merged = maybeMerge(last, node))) nodes[nodes.length - 1] = merged
    else nodes.push(node)
  }
addText ( text ) { let nodes = this . top ( ) . content , last = nodes [ nodes . length - 1 ] let node = this . schema . text ( text , this . marks ) , merged if ( last && ( merged = maybeMerge ( last , node ) ) ) nodes [ nodes . length - 1 ] = merged else nodes . push ( node ) }
using the current marks as styling.
using the current marks as styling .