@team-monolith/cds 1.2.0 → 1.2.1

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.
@@ -18,4 +18,5 @@ export declare class Image extends EditorJSImage {
18
18
  isActive: any;
19
19
  onActivate: () => void;
20
20
  }[];
21
+ uploadUrl(url: string): void;
21
22
  }
@@ -51,4 +51,11 @@ export class Image extends EditorJSImage {
51
51
  },
52
52
  }));
53
53
  }
54
+ // 아직 업로드를 할 수 있는 시스템이 없으므로 오류를 피하기 위해 uploadUrl 함수를 임시로 override 합니다.
55
+ uploadUrl(url) {
56
+ this.ui.showPreloader();
57
+ this.image = {
58
+ url: url,
59
+ };
60
+ }
54
61
  }
@@ -108,6 +108,7 @@ declare const I18n: {
108
108
  "With border": string;
109
109
  "Stretch image": string;
110
110
  "With background": string;
111
+ Caption: string;
111
112
  };
112
113
  };
113
114
  blockTunes: {
@@ -108,6 +108,7 @@ const I18n = {
108
108
  "With border": "테두리 넣기",
109
109
  "Stretch image": "이미지 폭 넓게",
110
110
  "With background": "배경 넣기",
111
+ Caption: "캡션 넣기",
111
112
  },
112
113
  },
113
114
  blockTunes: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,