Build a Rich Text Editor in Next 13 Tutorial

Sdílet
Vložit
  • čas přidán 15. 10. 2023
  • Check out my web dev courses below🔥
    developedbyed.com
    -------------------------------------------------------------------------------------------------
    Have you ever wanted to implement a rich text editor in your react or next 13 apps. You can do that easily with TipTap and react hook form. In this tutorial I will show you how you can build one out that looks and copies the same styles as shadcns UI.
    -------------------------------------------------------------------------------------------------
    👨‍💻Connect with me
    Twitter: / developedbyed
    Instagram: / developedbyed
    Github: github.com/developedbyed/
    -------------------------------------------------------------------------------------------------
    🎶 Dope tracks🔥
    Leavv - Roam chll.to/15c396e0
    Leavv, Midan - Bloom chll.to/0b3ee665
    Leavv, dennisivnvc - Coast chll.to/e77956eb
    C Y G N - Sunset Drive chll.to/d66020b5
    #react #tailwindcss #shadcn
  • Věda a technologie

Komentáře • 90

  • @therealdevopsintern
    @therealdevopsintern Před 7 měsíci +42

    You never cease to amaze me with your humor: "Do we have a sponsor for this video- No"😅😅

  • @licokr
    @licokr Před 7 měsíci +6

    When I think of implementing rich editor, my headache starts but wow, of course, there are still many things to do but it's way easier than I thought. There are so many libraries. I learned a lot. I also didn't know hook form validation with zod. Awesome, thank you!!

  • @joaomarcelofurtadoromero8277

    such a glow up of a content, fr man, been watching you for a while your videos deserve recognition. You sure have mine, congrats

  • @games4fun538
    @games4fun538 Před 7 měsíci +19

    WHERE IS THE GITHUB REPO PLEASE SHARE

  • @selfmotivation77736
    @selfmotivation77736 Před 4 měsíci +1

    ❤️Thank you for teaching us how to make our content better ❤️😊

  • @NlaakALD
    @NlaakALD Před 6 měsíci +19

    You definatly know what your doing but you where zipping around the editor so fast and the right side of the code was cutoff that i could not follow. I tried going to your github as last resort and out of 75 repositories did not find this one.

    • @frackinfamous6126
      @frackinfamous6126 Před 3 měsíci

      On IPhone or mac screenshot and select text. On windows, screen shot, get windows power tools. Press ‘win shift t’ . Watch video at 75 or 50% speed on parts that are too fast. Hope that helps some. 😀
      Also with typescript, VSCode and copilot the line will usually autocomplete once you type a few words.

  • @misap123
    @misap123 Před 5 měsíci +1

    If youre getting a error like context can only be used in client components or useform is not a function, add "use client" to the form component and the page.tsx

  • @joaofreire1478
    @joaofreire1478 Před 7 měsíci +1

    Great videos! Nice work. Any particular reason you're not using Yup schema for validations?

  • @scientificshiv
    @scientificshiv Před 3 měsíci

    This is amazing!

  • @GuilhermeSiebert
    @GuilhermeSiebert Před měsícem

    Awesome contento man!

  • @datoubi
    @datoubi Před 7 měsíci +2

    Hahahahahaha. Do we have a sponsor for this episode? No. Absolutely hilarious

  • @redwansikder3847
    @redwansikder3847 Před 10 dny

    🔥 Explanation.

  • @sherumov6472
    @sherumov6472 Před měsícem +1

    Some fixes: Do not import extensions like heading if you are using starter kit, you should configure all extensions right in the starter kit, because if you adding seperate extension it creates duplicates and you're getting this error - [tiptap warn]: Duplicate extension names found
    example:
    extensions: [
    StarterKit.configure({
    heading:{
    HTMLAttributes: {
    class: 'text-xl font-bold',
    levels: [2]
    }
    },
    ...

  • @migaratennakoon5439
    @migaratennakoon5439 Před 22 dny

    Thank you.

  • @maskman4821
    @maskman4821 Před 7 měsíci +1

    Great intro 👍

  • @emmanuel8944
    @emmanuel8944 Před 7 měsíci +2

    Please can you make a tutorial on how to integrate Redux toolkit with Next13 app directory. You could make a simple e-commerce cart.
    Much love from Nigeria! all my developer friends are your fans, Ed❤

  • @user-lz4uw5vu6o
    @user-lz4uw5vu6o Před 5 měsíci

    Thank you

  • @nmdpa3
    @nmdpa3 Před 18 dny

    Nice overview thanks. Struggling to clear the rich text field after a form submit. Anyone have a solution for that?

  • @user-bx3jy6xe2s
    @user-bx3jy6xe2s Před 7 měsíci +1

    I like your desktop wallpaper. Can you please share the source?

  • @stanleychukwu7424
    @stanleychukwu7424 Před 6 měsíci

    men. you're such a funny guy, almost all of your intro's are funny!! what a guy, you're wife is damm lucky!

  • @matt3441
    @matt3441 Před 6 měsíci

    Is the course coming out anytime soon?

  • @dannjohnrem
    @dannjohnrem Před 7 měsíci

    Question why we don't need src directory in next js?

  • @jellyfish1772
    @jellyfish1772 Před 7 měsíci

    Hihi.learned a few stuff while smiling.❤

  • @aarongregory1806
    @aarongregory1806 Před 2 měsíci

    Nice video! I noticed the validation doesn't truly work because the output of the editor will not be the length you would expect, unless you are taking into account the format it's returning. You would have to return `editor.getText()` instead of `editor.getHTML()` and of course this results in you not receiving the formatted text which defeats the purpose. You can see this at the 09:45 mark where there are only 2 characters in the input when the constraints specify at least 5, and the same later when the maximum character length of 100 is exceeded with less visible characters than that. There's ways around it though, of course.
    Unless I've missed a section of the video that addresses this :D

  • @irfansaeedkhan7242
    @irfansaeedkhan7242 Před 7 měsíci

    please make video on lexical rich text editor with mentions and hashtags please

  • @eliaspaulinho8435
    @eliaspaulinho8435 Před 16 dny

    magnificent!!
    would have been even better with a link to a repo for this code 😅

  • @timeforrice
    @timeforrice Před měsícem

    Has the course he motioned in the video out yet?

  • @user-kj4ii8tt6n
    @user-kj4ii8tt6n Před 6 měsíci +5

    Can u show the source code ?😃

  • @memesserfully
    @memesserfully Před 4 měsíci

    Please bro, would do a tut on how to upload a file and/or an image file wih next js 14 server actions, typescript, shadcn ui, tanstack and postgressql (supabase), using zod for validation along with react hook form, the goal here is to build an onboarding page that contain multistep form to onboard the user. getting their information to update several db tables related, like profiles, subscribing to tags, etc...
    Plesae I really like the way you present your videos very informative

  • @melvinrex9151
    @melvinrex9151 Před 7 měsíci +4

    Can you share the code

  • @ameykhandar889
    @ameykhandar889 Před 7 měsíci

    Hello,
    Could you please create yarn or npm tutorial

  • @abuzeralaca
    @abuzeralaca Před 6 měsíci +1

    Hi thanks for sharing this great vieo. Can you share the source code as well?

  • @hubesh716
    @hubesh716 Před 7 měsíci

    need redux toolkit tutorial plz make a playlist or a complete video

  • @pushkarkathayat7893
    @pushkarkathayat7893 Před 4 měsíci

    is it possible to add images & videos?

  • @ilkou
    @ilkou Před 7 měsíci +2

    great video!
    btw already has a in it

    • @developedbyed
      @developedbyed  Před 7 měsíci +2

      Whoops! Well done for catching that!

    • @ahmeddotgg
      @ahmeddotgg Před 7 měsíci +1

      But why chadcn using both in his docs 🤔

    • @euanmorgann
      @euanmorgann Před 5 měsíci +2

      @@ahmeddotgg is actually a from react-hook-form.
      It doesn't render a native tag but just provides context which react-hook-form uses so you do need both

  • @abdallahissaal-kass9092
    @abdallahissaal-kass9092 Před 3 měsíci

    which font are you using for vscode? I loved it.

  • @DejayClayton
    @DejayClayton Před 7 měsíci +6

    Will the text editor be so rich that it can lend me money?

  • @Ashish_singh_dev
    @Ashish_singh_dev Před 7 měsíci

    How can we make this with editorjs?

  • @YannAriell
    @YannAriell Před 7 měsíci

    Does it exist for react native?

  • @dwisetyoaji5007
    @dwisetyoaji5007 Před 7 měsíci +2

    Anyone know how to upload an image to a storage like S3 in Next, Is it same like form?

    • @vampirekabir
      @vampirekabir Před 23 dny

      looking for it for a long time, everyone skips this critical feature, all youtuber are similar

  • @ivankraev4264
    @ivankraev4264 Před 2 měsíci +1

    Can you please share the code ?

  • @vzdev9978
    @vzdev9978 Před 7 měsíci

    How about lexical?

  • @pranshusati5818
    @pranshusati5818 Před 6 měsíci

    How to integrate it with formik?

  • @anshulsoni653
    @anshulsoni653 Před 7 měsíci

    Small components tutorial are better bring em

  • @LotsOfFunyoutubechannel
    @LotsOfFunyoutubechannel Před 7 měsíci +2

    Next 13 tutorial in 13 min

  • @andrewsjose4228
    @andrewsjose4228 Před 7 měsíci +1

    0:04 😂😂

  • @tareqmahmud3902
    @tareqmahmud3902 Před 5 měsíci

    you do somewhat look like jack harlow you know that right?
    Btw, good content!

  • @andrewwoodward5274
    @andrewwoodward5274 Před 7 měsíci

    My bulletList and orderList is not working. Everything else works

  • @apjs77
    @apjs77 Před 6 měsíci +2

    source code please ?

  • @sanjeevkumar-wf5lr
    @sanjeevkumar-wf5lr Před 7 měsíci

    First viewer of this video 😊

  • @64revolt
    @64revolt Před 7 měsíci

    Do we have a sponsor for this episode?
    No.
    HAHA

  • @monstarbog3049
    @monstarbog3049 Před 3 měsíci +1

    code source?

  • @milodevs
    @milodevs Před 2 měsíci

    Sure they are 😏

  • @badr9032
    @badr9032 Před 7 měsíci +5

    please put source code next time

  • @anshulsoni653
    @anshulsoni653 Před 7 měsíci

    Hmm

  • @2an_sound
    @2an_sound Před 5 měsíci

    the prints. I'm dead.

  • @user-zw9st4px2q
    @user-zw9st4px2q Před 7 měsíci

    which vs code theme

  • @dude101cool
    @dude101cool Před 2 měsíci

    how do i clear the tiptap form after submit

    • @arupdey5811
      @arupdey5811 Před 2 měsíci

      same question. During edit, I found this issue. Once I prefill the data and submit it, the editor data is not getting cleared.

    • @nmdpa3
      @nmdpa3 Před 18 dny

      @@arupdey5811 Same question here as well, have tried everything I can think of and no luck.

    • @nmdpa3
      @nmdpa3 Před 17 dny

      @@arupdey5811 Found it...look at react "useImperativeHandle" and "forwardRef" ...works great.

  • @senorfavorita7457
    @senorfavorita7457 Před 7 měsíci +1

    What about lexical? Have anyone tried lexical before?

    • @nagato6819
      @nagato6819 Před 6 měsíci

      I'm thinking to try implement, if you already try it please let me know how you find it, good, bad, not good and not bad ?

    • @senorfavorita7457
      @senorfavorita7457 Před 6 měsíci +1

      @@nagato6819 I'm planning to do it soon. Maybe next week.
      If i did, I'll paste the repo-link here...

    • @nagato6819
      @nagato6819 Před 5 měsíci

      @@senorfavorita7457 okey thank and if I implement it, i'm gonna past the repo link here for you.

  • @janipartanen3162
    @janipartanen3162 Před měsícem

    you just have to pay $149+ VAT every month for tiptap so that your app doesn't pause every now and then 😅

  • @games4fun538
    @games4fun538 Před 7 měsíci +3

    PLEASE REPLY WITH A GITHUB REPO WITH CODE PLEASEEE

  • @arukigaming2621
    @arukigaming2621 Před 13 dny

    source code please

  • @games4fun538
    @games4fun538 Před 7 měsíci +1

    PLEASE

  • @__________________________6910

    Hello there, how are you ?

  • @codeneverlies1010
    @codeneverlies1010 Před 7 měsíci +2

    I am first

  • @amritadas1128
    @amritadas1128 Před 7 měsíci

    Hiii

  • @kacperkepinski4990
    @kacperkepinski4990 Před 3 měsíci

    zooming code is annoying

  • @vinniv6806
    @vinniv6806 Před 7 měsíci

    yeah... tiptap is asking for 999$/month :) so .....

    • @douglascolin3562
      @douglascolin3562 Před 6 měsíci

      Right. And the free tier is limited to one user, so for personal projects only.
      Alternatives that I've worked with (free & open-source):
      Plate- a plugin system for Slate RTE; headless but has shadcn components if you'd like. Powerful, feature-rich, pretty; documentation can be challenging, boilerplate.
      MDXeditor- Markdown editor with WYSIWIG formatting built on Lexical (from Meta so seamless with React). Good docs, lighter package. Less boilerplate, simpler to work with. No shadcn but it looks good. Toolbar features images & code editing plus live coding environment.

  • @NickAtNet
    @NickAtNet Před 7 měsíci

    NSFW

  • @klkiessertggksmsmsjfldd
    @klkiessertggksmsmsjfldd Před 2 měsíci

    english humor