Skip to content
Advertisement

How to set Froala editor default text?

I write that in my code:

JavaScript

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:

JavaScript

or you can do this with placeholder:

JavaScript

hope it helped you

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