Refactor method to pass markdown to the Content Editor
Refactor the content_editor vue component so it accepts Markdown via a Vue component property and outputs updated Markdown via Vue events. The purpose of this refactoring is simplifying the API to integrate the Content Editor in other parts of the application
显示
- app/assets/javascripts/content_editor/components/content_editor.vue 60 个添加, 10 个删除.../javascripts/content_editor/components/content_editor.vue
- app/assets/javascripts/content_editor/components/content_editor_alert.vue 15 个添加, 2 个删除...cripts/content_editor/components/content_editor_alert.vue
- app/assets/javascripts/content_editor/components/editor_state_observer.vue 2 个添加, 12 个删除...ripts/content_editor/components/editor_state_observer.vue
- app/assets/javascripts/content_editor/components/loading_indicator.vue 6 个添加, 28 个删除...vascripts/content_editor/components/loading_indicator.vue
- app/assets/javascripts/content_editor/services/content_editor.js 21 个添加, 20 个删除...ets/javascripts/content_editor/services/content_editor.js
- app/assets/javascripts/pages/shared/wikis/components/wiki_form.vue 8 个添加, 65 个删除...s/javascripts/pages/shared/wikis/components/wiki_form.vue
- locale/gitlab.pot 3 个添加, 6 个删除locale/gitlab.pot
- spec/frontend/content_editor/components/content_editor_alert_spec.js 25 个添加, 0 个删除...nd/content_editor/components/content_editor_alert_spec.js
- spec/frontend/content_editor/components/content_editor_spec.js 144 个添加, 62 个删除...frontend/content_editor/components/content_editor_spec.js
- spec/frontend/content_editor/components/editor_state_observer_spec.js 3 个添加, 23 个删除...d/content_editor/components/editor_state_observer_spec.js
- spec/frontend/content_editor/components/loading_indicator_spec.js 1 个添加, 45 个删除...ntend/content_editor/components/loading_indicator_spec.js
- spec/frontend/content_editor/services/content_editor_spec.js 60 个添加, 35 个删除spec/frontend/content_editor/services/content_editor_spec.js
- spec/frontend/pages/shared/wikis/components/wiki_form_spec.js 12 个添加, 36 个删除.../frontend/pages/shared/wikis/components/wiki_form_spec.js
- spec/frontend_integration/content_editor/content_editor_integration_spec.js 37 个添加, 34 个删除...gration/content_editor/content_editor_integration_spec.js
加载中
想要评论请 注册 或 登录