Remove Attrs on new line

Is there a simple way to ignore the attrs when clicking enter within a line?

To try to explain further, when you put the cursor into the middle of a line and hit enter both lines will now have the same attrs, however we only want the original line to have them and the new line to have new attrs, is that possible?

The built-in splitBlock command doesn’t do this, but you could write a custom version that applies the logic you want when splitting.