diff --git a/packages/core/README.md b/packages/core/README.md index 1da3798..8fd89e2 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -33,7 +33,7 @@ const editorInst = createSQLEditorInstance({ cache.addEditor(editorId, editorInst) ``` -The extension installs the cur-sql and sql-parser extensions default, can use the methods default. +The package installs the cur-sql and sql-parser extensions default, can use the following methods: ```ts const curSql = editorInst.getCurStatements() diff --git a/packages/extensions/basic-setup/README.md b/packages/extensions/basic-setup/README.md index f5ed08b..95953ce 100644 --- a/packages/extensions/basic-setup/README.md +++ b/packages/extensions/basic-setup/README.md @@ -1,7 +1,7 @@ # @tidbcloud/codemirror-extension-basic-setup Default basic configuration for codemirror. -This package depends on most of the core library packages and exports extension bundles to help set up a simple editor in a few lines of code. +This package depends on most of the codemirror core library packages and exports extension bundles to help set up a simple editor in a few lines of code. ## Installation @@ -37,7 +37,7 @@ const editorView = new EditorView({ }) ``` -If you have used @tidbcloud/tisqleditor extension, as it used baisc-setup and has some default config values, to override the default values, you can use basicSetupOptions, it has a higher priority, and can config it like this: +If you have used @tidbcloud/tisqleditor component, as it used baisc-setup and has some default config values, to override the default values, you can use basicSetupOptions, it has a higher priority, and can config it like this: ```ts import { EditorView } from '@codemirror/view'