do Validate
Validates the state of the editor and indicates whether and why it is invalid.
Return
null
if the state is valid, or a string explaining why the state is invalid
Validates the state of the editor and indicates whether and why it is invalid.
null
if the state is valid, or a string explaining why the state is invalid