Skip to content

Split markdown serializer for some nodes in separate files (iteration 2)

Himanshu Kapoor requested to merge himkp-reorg-markdown-serializer-3 into master

What does this MR do and why?

Split markdown serializer for some nodes in separate files

Split some node serializers for rich text editor in separate files. Moves them from markdown_serializer.js and serialization_helper.js to their own files under a serializer directory. The markdown_serializer.js and serialization_helper.js files were getting too large.

The nodes moved include description_item, description_list, details_content, details, emoji, figure_caption, figure, footnote_definition, footnote_reference, frontmatter, heading, horizontal_rule, list_item, loading.

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

No visual change. Run spec/frontend/content_editor/services/markdown_serializer_spec.js to confirm that serialization still works as expected.

Merge request reports

Loading