Skip to content

Event loading events in the Content Editor class

What does this MR do?

This MR enhances the ContentEditor class to emit loading events when deserializing Markdown content to load it into the editor. The goal of this change is allowing multiple Vue components to react to the process of loading content.

Context

This MR forms part of a bigger refactoring to simplify the process of initializing the Content Editor in features across GitLab. Check !67372 (merged) to see this change in action.

Screenshots or Screencasts (strongly suggested)

This MR does not introduce user-facing changes.

How to setup and validate locally (strongly suggested)

This MR does not introduce new behavior in the Content Editor.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Enrique Alcántara

Merge request reports