I'm trying to build some sort of rich text editor for my web app. It will be used to create blog posts that will be saved to the database, so that users can view.
My solution was using form and . The would be where I can store the title of the blog post, and in the textarea, the writer of the post would be able to write the article/contents of the blog post. But, as you know, a blog post sometimes contains images...and you cannot create/use images.
So I came across npm packages that allow you to create/import richtext editors(like ckeditor). But my problem was, how do you take the rich text data and save it to the database? And make the data display in the browser when the user wants to view a specific blog post?
I'm open any other suggestions on how I could implements the 'create blog posts' feature in my app.