Question

I am looking for a simple HTML editor.

This package should fulfill the following:

  1. Generates old type of HTML with no CSS
  2. Fully supports Right-To-Left and Hebrew fonts
  3. Must be an ActiveX / OCX component

Most editors in the market that I found so far, generate sophisticated HTML

What can you recommend?

EDITED

I need it for a desktop application. I want the user to be able to edit text like in HTML editor (font styles, alignment) etc.

Was it helpful?

Solution

nBit HTML Editor ActiveX/OCX (Commercial) seems to fit your requirements, except that the website does not state explicit support for hebrew/Right-to-left, so let's assume it doesn't support those, unless you can download a demo and try it. I have not used it so I cannot say.

It supports but does not seem to require CSS.

OTHER TIPS

One option which works well in desktop applications would be using a Richtext control, like TRichEdit or TRichView (commercial) for the editor.

RTF supports unicode and LTR and RTL (right-to-left) languages.

The generated RTF source can be exported to HTML, either with TRichView export functions or a converter library like my (commercial) ScroogeXHTML library.

TRichView can import the HTML into RTF, then export it as HTML. I use it for a chat program message composer and a group chat message viewer by sending HTML between clients. I'm not sure about the span tag.

The TWebBrowser component used to allow editing; I haven't checked it lately but this is what I can find on Google:

How to enable editing of a document in TWebBrowser

Using it wasn't as straightforward as one would wish, but I remember doing pretty good things with it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top