mai le
mai le

Reputation: 15

How to display conversation text in Laravel

I want to display text like below, how can I store it in database, should I have put by hand like <p>, <br /> right? It will be take a lot of time, there are another way to do that, thank you!

Tess: Thank you.

Ravi: Are you doing anything special?

Tess: Well, I’m going out for dinner with some friends tonight and then we might go to a club. I’m not really sure.

Ravi: Sounds good. Where are you going to eat? Is it somewhere a bit special or …

Upvotes: 1

Views: 184

Answers (1)

Emtiaz Zahid
Emtiaz Zahid

Reputation: 2835

You can use CKEditor for this. It will give you content in HTML format. You just need to write as a document editor. for example in the StackOverflow question and answer section, you are can design the document as bold, italic, hyperlink, etc. There are lots of WYSIWYG editors, for example, TinyMCE, Summernote, etc.

Upvotes: 1

Related Questions