Ubah kode berikut
[BLOCKS.PARAGRAPH]: (node, children) => { return <p>{children}</p>; },
Menjadi seperti ini
[BLOCKS.PARAGRAPH]: (node, children) => node.content.some( childNode => childNode.nodeType === `text` && childNode.marks.some( mark => mark.type === MARKS.CODE) ) ? children : <div className="blogpost-text"> {children} </div>