feat: add editor to update project description #95
feat: add editor to update project description #95RA9 wants to merge 3 commits intoformbricks:mainfrom
Conversation
The code changes include updating the repository description page and editor components. The `fetchRepoDetails` function is added to fetch repository details, and the `repoDetail` variable is used to store the fetched data. The `content` prop is passed to the `UpdateProjectDescription` component to display the current project description. The `UpdateProjectDescription` component now receives the `content` prop instead of hardcoding the description. The `tiptap-editor` component is updated to call `editor.getHTML()` instead of `editor.getText()` in the `onUpdate` callback. The `useState` hook dependency in the `UpdateProjectDescription` component is changed to `[description]` instead of `[repositoryId]`. Co-authored-by: Johannes <johannes@formbricks.com>
|
@RA9 is attempting to deploy a commit to the formbricks Team on Vercel. A member of the Team first needs to authorize it. |
|
Thank you for following the naming conventions for pull request titles! 🙏 |
|
hey @RA9 thanks for your contribution and sorry for the delay! Unfortunately, the editor is not respecting line breaks: Did that work for you? And aren't we missing a Save button? 🤓 We cannot update the text in the db right away because it would stream the editing process to the people looking at the project descriptions. Thanks! |
|
/award 1 |
|
/award 3 |
|
/award 4 |
|
Awarding RA9: 4 points 🕹️ Well done! Check out your new contribution on oss.gg/RA9 |
|
/award 5 |
|
Awarding RA9: 5 points 🕹️ Well done! Check out your new contribution on oss.gg/RA9 |
|
/award 6 |
|
Awarding RA9: 6 points 🕹️ Well done! Check out your new contribution on oss.gg/RA9 |

What does this PR do?
This feature integrates a customizable rich-text editor built with
Tiptapand Tailwind CSS into the project section when accessed from repository settings.Fixes #76