Can I access "previous content" for a specific node in appendTransaction?

@marijn thanks again. Yes, that is what I said I am trying to do in my question:

  • If it wasn’t, grab the marks from position 0 of the node, and cache them as an attr on the paragraph node

Maybe I am not asking the correct question here. How would you find the marks that need to be stored?

The only way I know of is to look at the old state and find the marks that were applied to the text in the paragraph. Is there a better way?

Again, I only want to do this if the paragraph that is currently selected, but had text in the previous state.

The reason I had though of eq is, I don’t how how else to make sure I am looking at the correct paragraph in the previous state while in an appendTransaction.

Please help me achieve this, I’m in a time crunch here. (I realize that the time crunch is neither your responsibility nor problem, but you are my lifeline to getting it done and I appreciate your help).

Thank you.