Improve performance when loading multiple editors on one page

Created on 26 June 2025, 2 days ago

Problem/Motivation

There are certain methods in CKEditor5PluginManager that run when loading each ckeditor instance on a page. The methods in question are getCKEditor5PluginConfig and getProvidedElements. Some static caching could be added to these methods to save some CPU cycles in case the editors have the same configuration.

Steps to reproduce

n/a

Proposed resolution

Add static caching.

Remaining tasks

User interface changes

n/a

Introduced terminology

API changes

n/a

Data model changes

n/a

Release notes snippet

📌 Task
Status

Needs work

Version

11.0 🔥

Component

ckeditor5.module

Created by

🇸🇮Slovenia alecsmrekar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024