We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2953365 commit 1d2fac9Copy full SHA for 1d2fac9
test/test.js
@@ -389,6 +389,12 @@ describe('markdown-toolbbar-element', function() {
389
assert.equal('|Two|', visualValue())
390
})
391
392
+ it('creates ordered list without selection', function() {
393
+ setVisualValue('apple\n|pear\nbanana\n')
394
+ clickToolbar('md-ordered-list')
395
+ assert.equal('apple\n\n|1. |\n\npear\nbanana\n', visualValue())
396
+ })
397
+
398
it('creates ordered list by selecting one line', function() {
399
setVisualValue('apple\n|pear|\nbanana\n')
400
clickToolbar('md-ordered-list')
0 commit comments