Currently it’s very difficult to experiment with styles in development because adding an inline style, a class, and ID; any of that will instantly be erased.
Adding the code to properly implement dynamic styles can be quite difficult and not being able to test them beforehand is a big problem.
Is there something I’m overlooking here?
The issue seems to be caused by this code in prosemirror-view
:
this.observer = window.MutationObserver &&
new window.MutationObserver(mutations => {
for (let i = 0; i < mutations.length; i++)
this.queue.push(mutations[i]);
});