Forum OpenACS Development: Current recommended Richtext editors?

Request notifications

Collapse
Posted by Brian Fenton on
Hi everyone

We have been using Xinha for as long as I can remember, but are looking into replacing it.
I saw this posting from Antonio from 2015 saying that Xinha is no longer maintained http://openacs.org/forums/message-view?message_id=4776897

What Richtext editors are people using, or do you recommend?

thanks
Brian

Collapse
Posted by Gustaf Neumann on
We have switched mostly to ckeditor4, which is supported in OpenACS via the package richtext-ckeditor4. It is actively developed and works nice on mobile devices.

[1] http://ckeditor.com/

Collapse
Posted by Brian Fenton on
Thanks Gustaf

that ckeditor4 looks very nice. Can you explain why it needs a separate package? I take it that replacing Xinha is not so simple as just dropping in the replacement editor?

thanks
Brian

Collapse
Posted by Gustaf Neumann on
In versions up to OpenACS 5.9.0 [1], the rich-text editors were (a) munged into acs-templating (+master templates) and (b) part of acs-core.

(a) was a problem, since there were 3 different interfaces depending on the editor; OpenACS 5.9.0 has a pluggable interface, needs no special master-template integrations and is more extensible without hacking in the core.

(b) is/was a problem with debian bundling of acs-core, since debian prohibits among many other issues minified files. By throwing the editors out of core, many of the issues are gone, and the rich-text editors can be obtained e.g. via "install from repository".

Yes, there is no standard integration of rich-text editors in general, every rich-text editor has a slightly different interface (using css classes, IDs, etc.), supporting different modes (inline editing) and or plugins (e.g. image selectors, etc). Having these in separate packages makes the setup more flexible and it can be more easily tailored by custom installations (who have the need to use different editor versions, etc.).

-g

[1] http://openacs.org/xowiki/openacs-todo

Collapse
Posted by Brian Fenton on
Super, that's very clear. Thanks for your help.

Brian

Collapse
Posted by Cesareo Garci­a Rodicio on
Just to suggest another richtext Editor. I've recently use trix[1] and it seems to work really fine. It could be a good choice for OpenACS

Its output is HTML code so to save as plain text perhaps a good idea would be use markdown[2]

------
[1] https://github.com/basecamp/trix
[2] https://getsolid.io/blog/trix/

Collapse
Posted by Brian Fenton on
Thanks Cesareo!