React Draft WYSIWYG - wrap data in a div or span

I see that by default React Draft WYSIWYG wraps each new text line in a <p>.

Is there a way for me to wrap all the text in a span or div? Also when loading the WYSIWYG and user starts typing all the data to be wrapped inside a span or div. Been reading the documentation and could not find anything ( it is highly possible that I have missed it ) and I am very new to React hence my understanding of some things is not very good.



from Recent Questions - Stack Overflow https://ift.tt/2Sy7BeC
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept