Skip to content

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

Himanshu Kapoor requested to merge himkp-reorg-markdown-serializer-2 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 audio, blockquote, code_block, code_suggestion, diagram, drawio_diagram, image and video.

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