Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,我正在使用这个:
<button onclick="editor.chain().focus().toggleBold().run()">
但是我从不和谐服务器上的好心人那里得到了解决方案。
对于菜单项,指定 type=button (否则浏览器可能认为它是提交按钮类型)
<button type=button onclick="editor.chain().focus().toggleBold().run()">