Draft.js - Unable to get data from the database. Cross-origin error
问题 I am trying to use Draft.js in the Blog app I am creating. It all seems fine when saving data to the database and getting it back, just I cannot seem to get createWithContent to work. When I write the following, the data does get saved to the database as I am simply creating an empty editor which then is updated by the user and sent to the database after convertToRaw. const postDetails = useSelector((state) => state.postDetails); const { loading, post, error } = postDetails; const