Home > OS >  How to add both text and images into textbox
How to add both text and images into textbox

Time:09-16

How do I add both text and images into chat box? I got this question when I thinked of the Facebook chatbox.

If you use an image inside a text area field, you have to use this:

<p><img src="ENTER URL HERE" height="ENTER HEIGHT HERE" width="ENTER WIDTH HERE"></p>

CodePudding user response:

In facebook's chatbox, there's no textarea it's a div, also if you are making an input which contains images you could use quill.js

CodePudding user response:

You can use https://www.tiny.cloud/ or other similar javascript libraries to customize textarea html tag.

  • Related