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.
2 parents b5ea988 + 39a03a7 commit c71abd3Copy full SHA for c71abd3
src/commands.js
@@ -86,6 +86,7 @@ export default (editor, opts = {}) => {
86
getContentActions() {
87
const { editor } = this;
88
const btn = document.createElement('button');
89
+ btn.setAttribute('type', 'button');
90
const pfx = editor.getConfig('stylePrefix');
91
btn.innerHTML = opts.buttonLabel;
92
btn.className = `${pfx}btn-prim ${pfx}btn-import__custom-code`;
0 commit comments