You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates are not saving correctly to rich text fields. Originally reported in discussion: #70@yudyananda
Expected Behavior
Saving after making changes to a richText input should persist to the database.
Current Behavior
On save from the admin panel, the reqeust shows the changes to the content as an array that appears to include the added text and the response is a 200. The collection item doesn't contain the additional text in the array.
Possible Solution
Investiigating if the richText input is providing incorrect format or if it is an issue on the API side.
Steps to Reproduce
npx create-payload-app rich-text-bug chose typescript, blog
cd rich-text-bug & yarn dev
localhost:3000/admin, sign in. Create a Post. See Save successful snackbar.
Enter some more text in the Content and save again.
Navigate back to Posts, click the post that was updated.
See the original, not updated content in the editor. Also verified in mongoDB collection that the original was not modified.
Detailed Description
payload v0.212
create-payload-app v0.1.16
The text was updated successfully, but these errors were encountered:
Bug Report
Updates are not saving correctly to rich text fields. Originally reported in discussion: #70 @yudyananda
Expected Behavior
Saving after making changes to a richText input should persist to the database.
Current Behavior
On save from the admin panel, the reqeust shows the changes to the content as an array that appears to include the added text and the response is a 200. The collection item doesn't contain the additional text in the array.
Possible Solution
Investiigating if the richText input is providing incorrect format or if it is an issue on the API side.
Steps to Reproduce
npx create-payload-app rich-text-bug
chose typescript, bloglocalhost:3000/admin
, sign in. Create a Post. See Save successful snackbar.Detailed Description
payload v0.212
create-payload-app v0.1.16
The text was updated successfully, but these errors were encountered: