Find and replace for markdown editors
This is the initial commit of a commit-series for implementing the find and replace functionality to our markdown editors. This commit registers the shortcuts behind a feature flag, and displays a simple input on the top-right of the editor whenever CMD+F is pressed on a focused markdown editor.
显示
- app/assets/javascripts/behaviors/find_and_replace.js 14 个添加, 0 个删除app/assets/javascripts/behaviors/find_and_replace.js
- app/assets/javascripts/behaviors/index.js 1 个添加, 0 个删除app/assets/javascripts/behaviors/index.js
- app/assets/javascripts/behaviors/shortcuts/keybindings.js 9 个添加, 1 个删除app/assets/javascripts/behaviors/shortcuts/keybindings.js
- app/assets/javascripts/behaviors/shortcuts/shortcuts.js 13 个添加, 0 个删除app/assets/javascripts/behaviors/shortcuts/shortcuts.js
- app/assets/javascripts/vue_shared/components/markdown/header.vue 51 个添加, 1 个删除...ets/javascripts/vue_shared/components/markdown/header.vue
- config/feature_flags/wip/find_and_replace.yml 9 个添加, 0 个删除config/feature_flags/wip/find_and_replace.yml
- lib/gitlab/gon_helper.rb 1 个添加, 0 个删除lib/gitlab/gon_helper.rb
- locale/gitlab.pot 6 个添加, 0 个删除locale/gitlab.pot
- spec/frontend/vue_shared/components/markdown/header_spec.js 74 个添加, 3 个删除spec/frontend/vue_shared/components/markdown/header_spec.js
加载中
想要评论请 注册 或 登录