Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text editor for post creation #183

Open
DimiMikadze opened this issue Nov 14, 2021 · 8 comments · May be fixed by #193
Open

Text editor for post creation #183

DimiMikadze opened this issue Nov 14, 2021 · 8 comments · May be fixed by #193

Comments

@DimiMikadze
Copy link
Owner

It will be nice to give users the ability to format their content as they want. For example, make text bigger, bolder, etc., while creating or updating the post.

Sample UI can be found as a screenshot. We will not be supporting the emojis dropdown at this moment. This issue is about only formatting the text.

Screen Shot 2021-11-14 at 9 40 44 AM

I found these libraries for creating text editors with React:

I'm open to discussing other options.

@RajendrasinhParmar
Copy link
Contributor

@DimiMikadze Can we try going with https://github.com/facebook/draft-js which seems a good option?

And if not then I think slate will be the better option.

Let me know your inputs about the same. I can try to work on this one.

@DimiMikadze
Copy link
Owner Author

@RajendrasinhParmar thanks for asking. I think Slate is a more suited library for our purposes since we are not planning to build an advanced editor with custom features, we just need a basic editor with minimal features like the size and weight of the font. What do you think?

@RajendrasinhParmar
Copy link
Contributor

@DimiMikadze Thank you for the update.
I will consider using the slate and will try to create a PR soon.

@DimiMikadze DimiMikadze changed the title Right text editor for post creation Text editor for post creation Dec 14, 2021
@RajendrasinhParmar
Copy link
Contributor

RajendrasinhParmar commented Mar 9, 2022

@DimiMikadze Hello, I've started working on this issue and I've almost done with the implementation of the text editor. And now I'm working on actually saving the response in the database and displaying the rich text on the front-end posts.

@faerylay
Copy link

@RajendrasinhParmar do you have any repo for this project too? I'm junior developer, I try to do social media app like this one. I'm using express session and material UI and I had some issue with subscription(like user online status and Notifications for real time update) . And some other...

@RajendrasinhParmar
Copy link
Contributor

@faerylay
I'm contributing to this project from fork of the same project.
this is the fork that I'm using for contribution to this project.

@faerylay
Copy link

@RajendrasinhParmar Thanks u I found it but you're using rest API instead of graphql

@RajendrasinhParmar
Copy link
Contributor

@faerylay that's correct. However, I'm one of the contributors to this project and trying to contribute in any way possible. So the project itself is using REST APIs so will be using the REST APIs as of now.

@RajendrasinhParmar RajendrasinhParmar linked a pull request Mar 23, 2022 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants