Sitecore / Sitecore.Commerce.Headstart.ReactAdmin

This is a basic implementation of Sitecore Commerce using the OrderCloud Javascript SDK. You can use it as a starting point to discover, understand, and learn more about the Sitecore Commerce OrderCloud capabilities.
https://sitecore-commerce-headstart-react-admin.vercel.app/
MIT License
7 stars 33 forks source link

Add rich content editor to product detail (description field) #84

Open crhistianramirez opened 1 year ago

crhistianramirez commented 1 year ago

We'd like to use tiptap since that is what is being used by content hub and will allow maximum compatibility if/when we add content hub integration

This editor should integrate with react-hook-form so that we can get some nice validation, particularly for validating string length since OrderCloud has a maximum of 2,000 characters. This 2,000 character limit should be enforced and should handle characters not visible to users as well.

Check out the components in react-hook-form for examples on how to wire up components with react-hook-form, and of course the react-hook-form docs. We are using useController

robertsoniv commented 1 year ago

Let's wait on this until we support contenthub one driven product information. They already support rich text / multi language.