chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user