rich_textarea icon indicating copy to clipboard operation
rich_textarea copied to clipboard

Converting [o={data-value}]?

Open chandrewz opened this issue 11 years ago • 3 comments

Is there a good way to convert the plain text version back into a tagged version?

chandrewz avatar Jun 09 '14 20:06 chandrewz

I'm out on travel. Will be back next week. If I forget to answer this then please remind me. (I don't have the code in front of me) On Jun 9, 2014 4:56 PM, "Andrew Chan" [email protected] wrote:

Is there a good way to convert the plain text version back into a tagged version?

— Reply to this email directly or view it on GitHub https://github.com/Yermo/rich_textarea/issues/5.

Yermo avatar Jun 09 '14 23:06 Yermo

For this, I basically regex matched the plain text version and used rich_textarea's insertObject to get them back as tags for text => rich text conversion.

chandrewz avatar Jun 27 '14 15:06 chandrewz

@chandrewz can you please share the regex or method you created to revert the plain text to rich textarea.I need it on update screen.

hassantahir01 avatar Oct 01 '20 10:10 hassantahir01