Stages makes it easy to integrate complex fields like WYSIWYG editors.
Example of a WYSIWYG (Lexical) input used inside Stages.
As Lexical is initially firing an onChange with initialized empty content, you need to capture that and return an empty string. The line below illustrates how that solves the isDirty calculation of Stages.