chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -18,7 +18,7 @@ import { api, type InferEditorAPIFromPlugins } from '@coze-editor/editor/react';
import preset from '@coze-editor/editor/preset-code';
import { type EditorView } from '@codemirror/view';
// 忽略 readOnly 强制设置值
// Ignore readOnly to force a value
const forceSetValue =
({ view }: { view: EditorView }) =>
(value: string) => {

View File

@@ -35,7 +35,7 @@ export interface Output {
children?: Output[];
}
// javascript 为历史数据,目前只会有 python typescript
// Javascript is historical data, currently only python | typescript is available.
export type LanguageType = 'python' | 'typescript' | 'javascript';
export interface PreviewerProps {
@@ -67,7 +67,7 @@ export interface EditorProps {
onTestRun?: () => void;
testRunIcon?: ReactNode;
/**
* @deprecated onTestRunStateChange 已失效,线上也未使用到
* @Deprecated onTestRunStateChange has expired and is not used online
*/
onTestRunStateChange?: (status: string) => void;
}