Add support for rendering comments in content editor
Add support for rendering and editing HTML comments in the comments in the content editor. Changelog: added
显示
- app/assets/javascripts/content_editor/components/toolbar_more_dropdown.vue 3 个添加, 0 个删除...ripts/content_editor/components/toolbar_more_dropdown.vue
- app/assets/javascripts/content_editor/extensions/comment.js 49 个添加, 0 个删除app/assets/javascripts/content_editor/extensions/comment.js
- app/assets/javascripts/content_editor/services/create_content_editor.js 2 个添加, 0 个删除...ascripts/content_editor/services/create_content_editor.js
- app/assets/javascripts/content_editor/services/gl_api_markdown_deserializer.js 4 个添加, 1 个删除...s/content_editor/services/gl_api_markdown_deserializer.js
- app/assets/javascripts/content_editor/services/markdown_serializer.js 3 个添加, 0 个删除...avascripts/content_editor/services/markdown_serializer.js
- app/assets/javascripts/content_editor/services/serialization_helpers.js 7 个添加, 0 个删除...ascripts/content_editor/services/serialization_helpers.js
- app/assets/javascripts/lib/utils/dom_utils.js 21 个添加, 0 个删除app/assets/javascripts/lib/utils/dom_utils.js
- app/assets/stylesheets/components/content_editor.scss 12 个添加, 0 个删除app/assets/stylesheets/components/content_editor.scss
- app/controllers/concerns/preview_markdown.rb 7 个添加, 1 个删除app/controllers/concerns/preview_markdown.rb
- glfm_specification/output_example_snapshots/html.yml 15 个添加, 9 个删除glfm_specification/output_example_snapshots/html.yml
- glfm_specification/output_spec/spec.html 2 个添加, 2 个删除glfm_specification/output_spec/spec.html
- lib/api/markdown.rb 5 个添加, 0 个删除lib/api/markdown.rb
- lib/banzai/filter/sanitization_filter.rb 2 个添加, 0 个删除lib/banzai/filter/sanitization_filter.rb
- spec/fixtures/markdown/markdown_golden_master_examples.yml 10 个添加, 0 个删除spec/fixtures/markdown/markdown_golden_master_examples.yml
- spec/frontend/content_editor/extensions/comment_spec.js 30 个添加, 0 个删除spec/frontend/content_editor/extensions/comment_spec.js
- spec/frontend/content_editor/services/gl_api_markdown_deserializer_spec.js 8 个添加, 4 个删除...tent_editor/services/gl_api_markdown_deserializer_spec.js
- spec/frontend/content_editor/services/markdown_serializer_spec.js 14 个添加, 0 个删除...ntend/content_editor/services/markdown_serializer_spec.js
- spec/frontend/content_editor/test_utils.js 2 个添加, 0 个删除spec/frontend/content_editor/test_utils.js
- spec/frontend/lib/utils/dom_utils_spec.js 18 个添加, 0 个删除spec/frontend/lib/utils/dom_utils_spec.js
加载中
想要评论请 注册 或 登录