Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
AE
Sith
Commits
4afd7a00
Commit
4afd7a00
authored
Dec 14, 2018
by
Sli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: avoid blinking in MarkdownInput preview
parent
d6f08d37
Pipeline
#1657
passed with stage
in 11 minutes and 42 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
core/templates/core/markdown_textarea.jinja
core/templates/core/markdown_textarea.jinja
+1
-0
No files found.
core/templates/core/markdown_textarea.jinja
View file @
4afd7a00
...
@@ -54,6 +54,7 @@
...
@@ -54,6 +54,7 @@
spellChecker
:
false
,
spellChecker
:
false
,
previewRender
:
function
(
plainText
,
preview
){
// Async method
previewRender
:
function
(
plainText
,
preview
){
// Async method
customMarkdownParser
(
plainText
,
preview
);
customMarkdownParser
(
plainText
,
preview
);
return
preview
.
innerHTML
;
}
}
});
});
...
...
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