orbeon / orbeon-forms

Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.
http://www.orbeon.com/
GNU Lesser General Public License v2.1
514 stars 221 forks source link

Exception caused by tinyMceObject.render() when loading orbeon/controls #6262

Closed obruchez closed 4 months ago

obruchez commented 5 months ago

This happens in the context of the React component test app, at least when served by IntelliJ's internal server.

obruchez commented 5 months ago

To reproduce (with the dev console and "pause on uncaught exceptions" enabled):

  1. http://localhost:8080/orbeon/fr/orbeon/controls/new?fr-wizard-page=text-controls
  2. Click on "Utility controls"
  3. Click on "Text controls"
ebruchez commented 5 months ago

Could this be related to #6277?

avernet commented 4 months ago

The error is a promise rejection that occurs as TinyMCE attempts to load a custom CSS file. It tries to load a file named default, which results in a 404 error. We can observe this in the Network tab. This issue is caused by the oxf.xforms.xbl.fr.tinymce.config setting content_css to default.