summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2019-01-23 12:10:57 +0100
committerDouwe Maan <douwe@selenight.nl>2019-01-24 12:06:52 +0100
commita7e77e10fec4c37782edf09aafa12ae0c2d870df (patch)
treedf14697ed9b4c6bbfd91c26a401ad5fc1c120e88 /spec/javascripts
parentda251c6436d6e17b18911d37c1b18314fb29329d (diff)
downloadgitlab-ce-a7e77e10fec4c37782edf09aafa12ae0c2d870df.tar.gz
Add tiptap/prosemirror nodes and marks for all Markdown and GFM features
The schema is built on top of the default schema and Node and Mark classes provided by tiptap-extensions. prosemirror-model is used to parse HTML/DOM into a prosemirror document, and prosemirror-markdown is used to serialize this document to (GitLab Flavored) Markdown.
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/behaviors/shortcuts/shortcuts_issuable_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/behaviors/shortcuts/shortcuts_issuable_spec.js b/spec/javascripts/behaviors/shortcuts/shortcuts_issuable_spec.js
index b709b937180..fe827bb1e18 100644
--- a/spec/javascripts/behaviors/shortcuts/shortcuts_issuable_spec.js
+++ b/spec/javascripts/behaviors/shortcuts/shortcuts_issuable_spec.js
@@ -186,7 +186,7 @@ describe('ShortcutsIssuable', function() {
it('adds the quoted selection to the input', () => {
ShortcutsIssuable.replyWithSelectedText(true);
- expect($(FORM_SELECTOR).val()).toBe('> _Selected text._\n\n');
+ expect($(FORM_SELECTOR).val()).toBe('> *Selected text.*\n\n');
});
it('triggers `focus`', () => {