in reply to Re^4: Plain Text To HTML
in thread Plain Text To HTML
I suggest Markdown because it's the most common rich-text-in-plain-text format on the Internet, and because there's no standard I'm aware of to receive MS Word formatting into a standard HTML form element. I expect there are custom MS extensions for Edge that can do it, but I don't have a desktop install of Word available to test with. Building on Markdown also helps with identifying indent levels of nested lists, which would be unreasonably hard to do with regexes.
There are also fully-featured javascript client-side rich text editors like CKEditor which you could integrate, and those will submit HTML to the back-end, no Perl translation required. They may have much better support for stuff pasted from Word, but some require a paid license for professional use, and you'd have to spend some time finding which one works the best for your use case.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Plain Text To HTML
by LanX (Saint) on Sep 21, 2024 at 10:27 UTC | |
by NERDVANA (Priest) on Sep 23, 2024 at 04:22 UTC | |
by LanX (Saint) on Sep 23, 2024 at 09:54 UTC |