Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d9e04d60
Commit
d9e04d60
authored
Dec 23, 2019
by
Alexander Oleynikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update comments, specify new path to spec
parent
6024c4be
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/behaviors/markdown/copy_as_gfm.js
app/assets/javascripts/behaviors/markdown/copy_as_gfm.js
+1
-1
app/assets/javascripts/behaviors/markdown/editor_extensions.js
...ssets/javascripts/behaviors/markdown/editor_extensions.js
+1
-1
No files found.
app/assets/javascripts/behaviors/markdown/copy_as_gfm.js
View file @
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
;
}
}
...
...
app/assets/javascripts/behaviors/markdown/editor_extensions.js
View file @
d9e04d60
...
@@ -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
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment