Commit 37ca9198 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'update-comment-in-editor-extensions' into 'master'

Update comments, specify new path to spec

See merge request gitlab-org/gitlab!22223
parents 3eb55972 d9e04d60
...@@ -183,7 +183,7 @@ export class CopyAsGFM { ...@@ -183,7 +183,7 @@ export class CopyAsGFM {
} }
// Export CopyAsGFM as a global for rspec to access // Export CopyAsGFM as a global for rspec to access
// see /spec/features/copy_as_gfm_spec.rb // see /spec/features/markdown/copy_as_gfm_spec.rb
if (process.env.NODE_ENV !== 'production') { if (process.env.NODE_ENV !== 'production') {
window.CopyAsGFM = CopyAsGFM; window.CopyAsGFM = CopyAsGFM;
} }
......
...@@ -53,7 +53,7 @@ import InlineHTML from './marks/inline_html'; ...@@ -53,7 +53,7 @@ import InlineHTML from './marks/inline_html';
// The nodes and marks referenced here transform that same HTML to GFM to be copied to the clipboard. // The nodes and marks referenced here transform that same HTML to GFM to be copied to the clipboard.
// Every filter in lib/banzai/pipeline/gfm_pipeline.rb that generates HTML // Every filter in lib/banzai/pipeline/gfm_pipeline.rb that generates HTML
// from GFM should have a node or mark here. // from GFM should have a node or mark here.
// The GFM-to-HTML-to-GFM cycle is tested in spec/features/copy_as_gfm_spec.rb. // The GFM-to-HTML-to-GFM cycle is tested in spec/features/markdown/copy_as_gfm_spec.rb.
export default [ export default [
new Doc(), new Doc(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment