Skip to content

Commit

Permalink
fix: opti readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sanshuiyijing committed Jul 4, 2024
1 parent 193924e commit a564ecf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions packages/extensions/basic-setup/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit a564ecf

Please sign in to comment.