Try to search your question here, if you can't find : Ask Any Question Now ?

Is there any way to change value of textarea with HTML

HomeCategory: stackoverflowIs there any way to change value of textarea with HTML
Avatarsourav asked 1 month ago

I’m trying to make markdown editor with auto resizable textarea.

I’m using marked library. But when I change value with value={marked(this.props.text)}, it outputs like: <p>Hello</p>

I can’t even use dangerouslySetInnerHTML or innerHTML property since textarea doesn’t render HTML.

When I use elements such as p, It doesn’t look like textarea.

Can someone give me a hint?

1 Answers
Best Answer
AvatarArben answered 1 month ago
Your Answer

6 + 12 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com