Hello Kaisar,

The CMS Container uses the editiwzard html editor (xinha) to do some richtext support. The CMS Conteiner richtext extension sources are in http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/richtext/. These sources are a rewrite of the old WIAB richtext extension. The extension only works with mmbase 1.8 or later, because the new datatypes functionality is used.

The richtext functionality is implemented by 2 relations.
inlinerel - this is used between two node. A referid field is used to identify which a-tag in the text belongs to which relation imageinlinerel - this is used between a node and image. The referid field is the same as the inlinerel. Addiditional fields are used to configure the img-tag Eg. height and width to scale the image. In IE, you can scale the image by dragging the borders. Firefox fails on this, because it modifies the style attributeof the image tag instead of the width and height attribute. I haven't had the time to fix that.

A field getprocessour handles the display. The only thing you have to do is implment a MMBaseServlet which can resolve a node number (which is not an url or attachment) to a page. As an example, see http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/search/src/java/com/finalist/cmsc/services/search/RedirectServlet.java?view=markup

Nico


kaisar wrote:

Hi

I am using kupu based richtext editor for mmbase. But I would like to know if there
is any other ("finalist") richtext editor for mmabse?

thanks
Kaisar
_______________________________________________
Users mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/users



_______________________________________________
Users mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/users

Reply via email to