Skip to content

Commit 7642bb2

Browse files
authored
Merge pull request editor-js#2 from codex-editor/marker-button-fix
Marker button fix
2 parents 9d16ccf + affed64 commit 7642bb2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dist/bundle.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class Marker {
6161
*/
6262
render() {
6363
this.button = document.createElement('button');
64+
this.button.type = 'button';
6465
this.button.classList.add(this.iconClasses.base);
6566
this.button.innerHTML = this.toolboxIcon;
6667

@@ -168,4 +169,4 @@ class Marker {
168169
}
169170
}
170171

171-
module.exports = Marker;
172+
module.exports = Marker;

0 commit comments

Comments
 (0)