Skip to content

Commit c71abd3

Browse files
authored
Merge pull request #17 from oleksander-kurilchik/master
Fix bug
2 parents b5ea988 + 39a03a7 commit c71abd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commands.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export default (editor, opts = {}) => {
8686
getContentActions() {
8787
const { editor } = this;
8888
const btn = document.createElement('button');
89+
btn.setAttribute('type', 'button');
8990
const pfx = editor.getConfig('stylePrefix');
9091
btn.innerHTML = opts.buttonLabel;
9192
btn.className = `${pfx}btn-prim ${pfx}btn-import__custom-code`;

0 commit comments

Comments
 (0)