Skip to content

Commit 44edfbc

Browse files
keithamusmuan
andauthored
test: fixup example & test html
Co-Authored-By: Mu-An 慕安 <[email protected]>
1 parent 4d6dbc8 commit 44edfbc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
<textarea rows="6" class="mt-3 d-block width-full" id="textarea"></textarea>
2525
</div>
2626

27-
<details>
27+
<details class="container py-4">
2828
<summary>Initially hidden toolbar!</summary>
2929
<div class="container py-4">
3030
<p><button type="button">Add a Comment</button></p>
31-
<markdown-toolbar for="textarea">
31+
<markdown-toolbar for="textarea2">
3232
<md-bold class="btn btn-sm">bold</md-bold>
3333
<md-header class="btn btn-sm">header</md-header>
3434
<md-italic class="btn btn-sm">italic</md-italic>
@@ -42,7 +42,7 @@
4242
<md-mention class="btn btn-sm">mention</md-mention>
4343
<md-ref class="btn btn-sm">ref</md-ref>
4444
</markdown-toolbar>
45-
<textarea rows="6" class="mt-3 d-block width-full" id="textarea"></textarea>
45+
<textarea rows="6" class="mt-3 d-block width-full" id="textarea2"></textarea>
4646
</div>
4747
</details>
4848

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ describe('markdown-toolbar-element', function() {
7272
<md-header>header</md-header>
7373
<md-header level="1">h1</md-header>
7474
<div hidden>
75-
<md-header level="5">h1</md-header>
75+
<md-header level="5">h5</md-header>
7676
</div>
7777
<md-header level="10">h1</md-header>
7878
<div data-md-button>Other button</div>

0 commit comments

Comments
 (0)