@dineug/erd-editor 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,8 +12,6 @@ npm install @dineug/erd-editor
12
12
 
13
13
  ## Usage
14
14
 
15
- ### javascript
16
-
17
15
  ```js
18
16
  import '@dineug/erd-editor';
19
17
 
@@ -34,6 +32,8 @@ const editor = document.createElement('erd-editor');
34
32
 
35
33
  const editor = document.createElement('erd-editor');
36
34
  </script>
35
+ <!-- or -->
36
+ <script src="https://cdn.jsdelivr.net/npm/@dineug/erd-editor/dist/erd-editor.min.js"></script>
37
37
  ```
38
38
 
39
39
  ## ErdEditorElement
@@ -343,5 +343,6 @@ editor.setTheme({...});
343
343
 
344
344
  ## Document
345
345
 
346
- - [Import Schema SQL Support Syntax](https://github.com/dineug/erd-editor/blob/main/packages/schema-sql-parser/src/schema_sql_test_case.md)
347
346
  - [vscode extension](https://marketplace.visualstudio.com/items?itemName=dineug.vuerd-vscode)
347
+ - [Editing Guide](https://docs.erd-editor.io/docs/category/guides)
348
+ - [Import Schema SQL Support Syntax](https://github.com/dineug/erd-editor/blob/main/packages/schema-sql-parser/src/schema_sql_test_case.md)
@@ -2,6 +2,7 @@ import { FC, Ref } from '@dineug/r-html';
2
2
  export type CanvasProps = {
3
3
  root: Ref<HTMLDivElement>;
4
4
  canvas: Ref<HTMLDivElement>;
5
+ grabMove?: boolean;
5
6
  };
6
7
  declare const Canvas: FC<CanvasProps>;
7
8
  export default Canvas;