r/reactnative • • Feb 15 '24

I built my own simple text editor

256 Upvotes

46 comments sorted by

19

u/prashantjdrew Feb 15 '24 edited Mar 10 '24

- Support Bold, Italic, Underline, Strikethrough, CheckList, Numbered List, Bullet List, Colored Text, Colored Background Text, Subscript and Superscript

- Support Nested List (any type)

- Undo and Redo everywhere

- Drag and Drop blocks to organise

- Support documents , audio , video and images upload (can be mixed)

- Support audio recording and video recording

- Writing markdown and pasting markdown content

- No Load times, Dark and Light mode ofc

- Suppport multiple font families

- And also take photo

- everything save on device ( local first )

Submind is now live - link

4

u/polar_bare Feb 15 '24

Great job on this!

Curious if you used any libraries for text formatting or if you wrote your own parser.

(I also have a related app for which I had to roll my own text formatting and wished there were good community libraries - https://apps.apple.com/ca/app/a-journal-a-day/id1659288235)

4

u/prashantjdrew Feb 15 '24

Thanks!

I used lexical by @meta. They have an ios library ( but support basic things i guess) and no android library for now.

Looks minimal. You can try out ios library to see where it goes

2

u/kimchouard Feb 16 '24

Looks amazing, great job! 🙌🏼 There is a lot of demands for this kind of features in RN, you'd bring a LOT to the community if you ever Open Source this as a library 🙃 did you consider it?

9

u/herbb100 Feb 15 '24

You had me with the subscript and superscript. Great work👍.

8

u/this_is_me_yess Feb 15 '24

Awesome, where can we try it

8

u/prashantjdrew Feb 15 '24

Soon be releasing on play store, currently in review

0

u/[deleted] Feb 16 '24

[deleted]

2

u/Big_Amphibian1100 Feb 15 '24

well executed 👍

1

u/prashantjdrew Feb 15 '24

Thank you 🙌

2

u/4silbervogel4 Feb 15 '24

This is beautiful!

2

u/Fit-Stack-Code Feb 18 '24

What are your plans to export it like as a pdf, or a txt file?

You planning to have them shareable through a link?

This seems cool nonetheless Ime new to RN only like a month now so I'd like to know how you did some of these features

1

u/prashantjdrew Feb 18 '24

Yes there is a plan for export and import features. For text export it is gonna be easy but require more work towards other formats like pdf, docs, ppt and more.

Most of my features are built on top of expo apis. Like audio and video related.

24

u/redd_pratik Feb 15 '24

Can we use this as a library in our react native apps?

11

u/baylifeee Feb 15 '24

Can we use this as a library in our react native apps?

This would be super helpful!

8

u/[deleted] Feb 15 '24

Do you have plan releasing it as library?

11

u/sintylapse Feb 15 '24

Don’t need an app store link, just post it to github repository

4

u/Sorr3 Feb 16 '24

This mofo really said "simple" then proceeds to show such an amazing app that he made in about 5 months.

Well done mate. Looking forward to trying it out.

1

u/SheepTD Feb 21 '24

Please make sure to share link when it hits the play store, I'll be waiting. Great job. 

3

u/prashantjdrew Feb 21 '24

Sure, currently upgrading to expo 50 and new expo sqlite. Take few days.

2

u/prashantjdrew Mar 10 '24

Submind is now live - link

2

u/SheepTD Mar 21 '24

Downloading it now, thanks

3

u/baylifeee Feb 15 '24

Is there a repo link?

3

u/Background_Big_3140 Feb 15 '24

Yo how can I use this

3

u/gasper94 Feb 15 '24

Nice work!! :) don’t share the link if you’re not comfortable doing it.

3

u/divadutchess iOS & Android Feb 15 '24

Looks amazing. Please open source it if possible :)

2

u/alexfoxy Feb 15 '24

Would be a handy library :)

2

u/blueaphrodisiac Expo Feb 15 '24

The stacked images effect is really cool. Also, nice font

2

u/phaedrus322 Feb 16 '24

Looks great. Good job.

1

u/m4d-0x Mar 07 '24

I'm kinda impressed, and i dont know why yet. gg

1

u/godjirabrah Feb 16 '24

Great job ! I tried something like this but I totally failed it lol. Again congrats

1

u/[deleted] Feb 16 '24

This is amazing! How’d you manage the keyboard avoiding? I’m sure you had to implement some kind of custom logic !

1

u/glazzes Feb 16 '24 edited Feb 16 '24

Looking good, I do wonder how did you managed to get the data for creating the audio waveform? Is it directly from the user's device or a backend thing like BBC's audio waveform library? I'm also working on a new pinching library that might be of your interest

1

u/ComprehensiveEnd2793 Feb 16 '24

Looks amazing~

I wonder if you have any interest in open-sourcing this!?

I have tried build markdown for my app. but it kind of having lots of issues. and I have to patch up a lot.

1

u/ujjwalmanandhar Feb 17 '24

Do you plan to open source the library? Would be really great.

1

u/SjTyler Feb 17 '24

Please open source it . Pleaseee.

1

u/isameer920 Feb 20 '24

Did you write your own parser for this? Initially I felt it was using markdown but some of the features like equations are something that aren't included in markdown afaik.

3

u/[deleted] Feb 15 '24

[removed] — view removed comment

2

u/prashantjdrew Feb 15 '24

On and off 4 to 5 months