nl_tokens: Replaces all marker nodes tied to this view instance .
pl_tokens: function replaceMarkers ( ) { const markers = $ ( '.wpview-marker' ) ; if ( ! markers . length ) { return <mask> ; } markers . each ( function ( index , node ) { let text = editor . dom . getAttrib ( node , 'data-wpview-text' ) , type = editor . dom . getAttrib ( node , 'data-wpview-type' ) ; editor . dom . replace ( editor . dom . createFragment ( '<div class="wpview-wrap" data-wpview-text="' + text + '" data-wpview-type="' + type + '">' + '<p class="wpview-selection-before">\u00a0</p>' + '<div class="wpview-body" contenteditable="false"></div>' + '<p class="wpview-selection-after">\u00a0</p>' + '</div>' ) , node ) ; } ) ; return true ; }