Skip to content

Commit 079b936

Browse files
authored
Merge pull request #3 from codex-editor/inline-tool-fix
inline-tool button fix & update bundle
2 parents 286b1e1 + 28817c4 commit 079b936

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

dist/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class InlineCode {
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

0 commit comments

Comments
 (0)