conditionalise editedContent to not break stuff