Hi,
Is there a way to merge html elements in prose mirror? For example a div that contains <p>
, <span>
, and other <div>
tags, is there a programatic way to merge these elements into one div?
Hi,
Is there a way to merge html elements in prose mirror? For example a div that contains <p>
, <span>
, and other <div>
tags, is there a programatic way to merge these elements into one div?
The join
method on transactions might be what you’re looking for.