.NET text editor that accepts HTML and input/output with spellchecking

后端 未结 8 1983
臣服心动
臣服心动 2021-02-02 04:01

I have been searching for something that does this for a while now, but with no luck yet... We have an internal application that stores/uses text in HTML format. Now I am looki

8条回答
  •  孤街浪徒
    2021-02-02 04:41

    I'm in same boat as you are.

    Using a managed wrapper around the MSHTML com control (dont remember which one, there are a few, for instance there is this one). From what I understand our company has examined a few of this kind of controls and at the moment we have decided to stick with MSHTML.

    We also needed a spell checker, we are using RapidSpell. But there are plenty open source / free spell checkers.

    We are pulling the plain text out of MSHTML and allowing the spell checker to process it. hen collect the list of he invalid words and their fixes and inject it back into the html stream.

    It's not that much work, about a week to glue it all together.

    About using the RTF control, we have examined this possibility as well, and decided not to go with it because we had lots of pain in the past with HTML > RTF > HTML.

    One advantage the MSHTML control has over the other 3rd party controls is that it supports copy and paste into the control from most of the applications, you can copy from word or some other formatted text, and the pasted text will keep the formatting, some thing that is not supported by most of the other controls.

提交回复
热议问题