0
How to create Bold data in MySQL database text field?
Is it possible to create bold text in a MySQL database text table field? If we are putting articles in our database and if we want to create bold titles and subtitles. Is this possible? I want to get those text filelds to a html page in django projects.
6 Respuestas
+ 2
You could try to store the text with its html markup, like this "<b>name</b>".
https://stackoverflow.com/questions/2037903/how-to-create-bold-data-in-mysql-database-text-field
+ 1
I see... Well I am not sure that it possible to do it throught th django admin. You could try to manipulate the DOM but I don't think that's what you want.
+ 1
I found a way. The solution is to use CKeditor. Follow this link if you need more details https://youtu.be/_eOSBbpFPpA
+ 1
That's true. This is a way better solution!
Thank you for sharing
0
Dear abdoul, thank you for your answer 😍. But actually that's not my problem. I want a way to give text attributes such as bold,italic directly via the django admin panel. I want to check whether there is a way to do it without using your way.
0
You are welcome