瀏覽代碼

133085 remove arrow

soumaeda 2 年之前
父節點
當前提交
22ea94190f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/editor/src/components/CodeMirrorEditor/Toolbar/TextFormatTools.tsx

+ 1 - 1
packages/editor/src/components/CodeMirrorEditor/Toolbar/TextFormatTools.tsx

@@ -70,7 +70,7 @@ export const TextFormatTools = (props: TextFormatToolsType): JSX.Element => {
           <button type="button" className="btn btn-toolbar-button" onClick={() => onClickInsertMarkdownElements('~', '~')}>
             <span className="material-symbols-outlined fs-5">format_strikethrough</span>
           </button>
-          <button type="button" className="btn btn-toolbar-button" onClick={() => onClickAddHeaderToSelection()}>
+          <button type="button" className="btn btn-toolbar-button" onClick={onClickAddHeaderToSelection}>
             <span className="material-symbols-outlined fs-5">block</span>
           </button>
           <button type="button" className="btn btn-toolbar-button" onClick={() => onClickInsertMarkdownElements('`', '`')}>