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
c5b0ea64
Commit
c5b0ea64
authored
Apr 21, 2021
by
Enrique Alcantara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Markdown-it from content editor build
parent
568571cf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/content_editor/services/markdown_serializer.js
...avascripts/content_editor/services/markdown_serializer.js
+1
-1
jest.config.base.js
jest.config.base.js
+1
-1
No files found.
app/assets/javascripts/content_editor/services/markdown_serializer.js
View file @
c5b0ea64
import
{
MarkdownSerializer
as
ProseMirrorMarkdownSerializer
,
defaultMarkdownSerializer
,
}
from
'
prosemirror-markdown
'
;
}
from
'
prosemirror-markdown
/src/to_markdown
'
;
import
{
DOMParser
as
ProseMirrorDOMParser
}
from
'
prosemirror-model
'
;
const
wrapHtmlPayload
=
(
payload
)
=>
`<div>
${
payload
}
</div>`
;
...
...
jest.config.base.js
View file @
c5b0ea64
...
...
@@ -101,7 +101,7 @@ module.exports = (path, options = {}) => {
'
^.+
\\
.(md|zip|png)$
'
:
'
jest-raw-loader
'
,
},
transformIgnorePatterns
:
[
'
node_modules/(?!(@gitlab/ui|@gitlab/favicon-overlay|bootstrap-vue|three|monaco-editor|monaco-yaml|fast-mersenne-twister)/)
'
,
'
node_modules/(?!(@gitlab/ui|@gitlab/favicon-overlay|bootstrap-vue|three|monaco-editor|monaco-yaml|fast-mersenne-twister
|prosemirror-markdown
)/)
'
,
],
timers
:
'
fake
'
,
testEnvironment
:
'
<rootDir>/spec/frontend/environment.js
'
,
...
...
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