• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove xowiki dependency from CKEditor4

Rationale: CKEditor4 is EOL for its free version and the paid LTS version will be discontinued in December 2026.

We now do not set an explicit default for the preferred richtext editor. Instead, the first richtext-* package that will be installed with check whether a preferred editor was chosen. If not, they will set themselves as the xowiki editor. This should not change the behavior for existing installations already using ckeditor4, or a different editor.

  1. … 3 more files in changeset.
Additional CSP exceptions for Xinha

Include the supplied text_id among the fields we should replace

Fix typo

Richtext Xinha package revamp:

since this editor now seems to enjoy somewhat better support, I have "borrowed" much of the logic available in richtext-ckeditor4 so that users can keep their editor version up to date.

Notable changes:

- we do not ship the actual Xinha editor ourselves, it will by default come from the cdn (on Amazon servers) or can be downloaded locally as we do for CKEditor4

- plugins that have been developed specifically for OpenACS (which seem to keep working) are now maintained in a separate folder tree and configured in the editor specifically

- The configuration for which plugins should be available is now maintained at the package level

  1. … 1953 more files in changeset.
added editor hints and white-space cleanup

  1. … 6 more files in changeset.
Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 204 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7833 more files in changeset.
- Don't set legacy configure parameters in new installations

- Make clear in parameter description in acs-templating, that this is

not the place, where xinha/tinymce should be configured

- Improve warning messages about usage of legacy parameters (tell admin what to do)

  1. … 4 more files in changeset.
- add required CSP directives; turn "body_handler -event onload" into a body_script

Fixed missing $

- don't use dashes ("-") in namespaces

  1. … 7 more files in changeset.
- don't try to show broken richtext editor on mobile devices

(it is better to show plain textarea than a display where nothing can be entered)

  1. … 5 more files in changeset.
- initial commit of richtext editor plugin for integrating Xinha with acs-templating

  1. … 1950 more files in changeset.
file richtext-init.tcl was initially added on branch oacs-5-9.

  1. … 1 more file in changeset.
file richtext-procs.tcl was initially added on branch oacs-5-9.

  1. … 1 more file in changeset.