Reputation: 145
Are there any possibility to do something like that? Or how I can simulate input field with possibility input usual text and display html tags as html?
Thanks.
Upvotes: 1
Views: 4068
Reputation: 140230
You can use contenteditable
attribute:
<div contenteditable></div>
Upvotes: 2
Reputation: 3408
You can use the HTML5 property contenteditable, if you can use this technology.
Exemple: http://jsfiddle.net/hZWWd/
I'm sure with some javascript you can add some buttons to put in bold or else for exemple (by adding some tags), and you have your own richtextbox.
Hope I didn't misunderstood your question.
Upvotes: 1