Improve sourcemap generation in RTE
What does this MR do and why?
Improve sourcemap generation in RTE
Improve generation of sourcemaps for elements in the markdown_sourcemap utility.
This is a multi-MR effort to split and merge !159262 (closed) (issue: #455457 (closed)) and other work related to issues in &7722 behind a feature flag.
-
Improve sourcemap generation in RTE (!160709 - merged) (
👈 this MR) - Improve preservation of marks in RTE (!160721 - merged)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
There is no visual change. Only introduction of feature flag, and improvement to the markdown_sourcemap
service, which isn't used much, except for getting list types for bullet, numeric and task lists. The improvements to the service can be verified in the corresponding tests.
How to set up and validate locally
This is part one of split of !159262 (closed) so it cannot be tested individually. You can test the follow-up MR !160721 (merged). The setup instructions go into detail on how markdown is preserved for various elements.