This is an automated email from the ASF dual-hosted git repository. robin0716 pushed a commit to branch refactor/editor in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
commit 38f05ce2d7515b1015078212b4b8e3bf3cf8734f Author: robin <[email protected]> AuthorDate: Tue Apr 16 11:57:48 2024 +0800 refactor(ui): Remove redundant comments --- ui/src/components/Editor/ToolBars/image.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/src/components/Editor/ToolBars/image.tsx b/ui/src/components/Editor/ToolBars/image.tsx index 60099193..8a0cd8c8 100644 --- a/ui/src/components/Editor/ToolBars/image.tsx +++ b/ui/src/components/Editor/ToolBars/image.tsx @@ -112,7 +112,6 @@ const Image = ({ editorInstance }) => { return; } - // const startPos = editor.getCursor(''); codemirror 6 const startPos = editor.getCursor(); const endPos = { ...startPos, ch: startPos.ch + loadingText.length };
