Skip to content
Advertisement

How to set Froala editor default text?

I write that in my code:

<textarea id="content" name="content" value="something"></textarea>

I want it to be this way:

enter image description here

but I see this instead:

enter image description here

How can I change it?

Advertisement

Answer

You need to put the text like this:

<textarea id="content" name="content" value="something">something</textarea>

or you can do this with placeholder:

<textarea id="content" name="content" value="something" placeholder="something"></textarea>

hope it helped you

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement