Split markdown serializer for some nodes in separate files (iteration 3)
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 hard_break, html_comment, html_node, ordered_list, paragraph, reference_definition, reference_label, reference, table_cell, table_header, table_of_contents, table_row, table, task_item, task_list, text and word_break.
Previous iterations:
- Split markdown serializer for some nodes in sep... (!159706 - merged)
- Split markdown serializer for some nodes in sep... (!159642 - merged)
- Split markdown serializer for marks in separate... (!159630 - 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
No visual change. Run spec/frontend/content_editor/services/markdown_serializer_spec.js
to confirm that serialization still works as expected.