You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
having difficulties on how to add additional condition to alterNode function without overriding it.
other than manually updating the package, is there any way to do it?
i wanted to add these to alterNode function
having difficulties on how to add additional condition to alterNode function without overriding it.
other than manually updating the package, is there any way to do it?
i wanted to add these to alterNode function
if (node.name === "img") {
node.attribs = {
...(node.attribs || {}),
style:
height:"auto";
};
}
The text was updated successfully, but these errors were encountered: