开发者问题收集
我正在使用Draft-js with Formik和yup来验证 Draft EditorState 组件。我假设我可以使用以下 yup 测试来检查 EditorState 是否不为空://Each note has a string title and a body, which is a Draft EditorStateconst validationSchema = yup.object(