Review 13.4 Abandoned

96708[BUGFIX] Initialize CKEditor only after the document is parsed

Garvin Hicking CR 0 V 0 Normal +118 −46 updated 10/15/26, 08:16

Commit message

The rich-text element may be upgraded while the document is still
being parsed, e.g. when its module is served from the browser cache.
If the response stalls inside the textarea, CKEditor is created with
the partial value received so far and writes that truncated value
back on submit, silently cutting off the rest of the field.

CKEditor is now initialized after DOMContentLoaded if the document is
still loading. Elements inserted later, such as inline records loaded
via AJAX, are not delayed.

The paths of the CKEditor modules in the import map of the JavaScript
unit tests are corrected, as they were not used before.

Review

  • Code review CR 0
  • Verified V 0

Issues 1

Files 4

Review log 3

  1. Garvin Hicking commented on patch set 1 10/15/26, 08:15

    Cherry Picked from branch main.
  2. Garvin Hicking wrote 10/15/26, 08:15

    Topic set to #no-backport
  3. Garvin Hicking abandoned the change 10/15/26, 08:16

    won't do even though listed in Releases: