@kids-reporter/draft-editor 0.4.2 → 0.4.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.
|
@@ -63,7 +63,7 @@ function createAnnotationButton({
|
|
|
63
63
|
const input = /*#__PURE__*/_react.default.createElement(_modals.DrawerController, {
|
|
64
64
|
isOpen: toShowInput
|
|
65
65
|
}, /*#__PURE__*/_react.default.createElement(_modals.Drawer, {
|
|
66
|
-
title: "
|
|
66
|
+
title: "\u8A3B\u89E3",
|
|
67
67
|
actions: {
|
|
68
68
|
cancel: {
|
|
69
69
|
label: 'Cancel',
|
|
@@ -35,7 +35,7 @@ function BlockquoteInput({
|
|
|
35
35
|
return /*#__PURE__*/_react.default.createElement(_modals.DrawerController, {
|
|
36
36
|
isOpen: isOpen
|
|
37
37
|
}, /*#__PURE__*/_react.default.createElement(_modals.Drawer, {
|
|
38
|
-
title:
|
|
38
|
+
title: "\u5F15\u8A00"
|
|
39
39
|
//isOpen={toShowInput}
|
|
40
40
|
,
|
|
41
41
|
actions: {
|
package/lib/buttons/bt-names.js
CHANGED
|
@@ -48,7 +48,7 @@ function EmbeddedCodeButton(props) {
|
|
|
48
48
|
const input = /*#__PURE__*/_react.default.createElement(_modals.DrawerController, {
|
|
49
49
|
isOpen: toShowInput
|
|
50
50
|
}, /*#__PURE__*/_react.default.createElement(_modals.Drawer, {
|
|
51
|
-
title:
|
|
51
|
+
title: "\u9472\u5D4C\u7A0B\u5F0F\u78BC\uFF08Embedded Code\uFF09"
|
|
52
52
|
//isOpen={toShowInput}
|
|
53
53
|
,
|
|
54
54
|
actions: {
|
package/lib/buttons/info-box.js
CHANGED
|
@@ -43,7 +43,7 @@ function InfoBoxInput(props) {
|
|
|
43
43
|
return /*#__PURE__*/_react.default.createElement(_modals.DrawerController, {
|
|
44
44
|
isOpen: isOpen
|
|
45
45
|
}, /*#__PURE__*/_react.default.createElement(_modals.Drawer, {
|
|
46
|
-
title: `
|
|
46
|
+
title: `Info Box`,
|
|
47
47
|
actions: {
|
|
48
48
|
cancel: {
|
|
49
49
|
label: 'Cancel',
|
package/lib/draft-editor.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kids-reporter/draft-editor",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@kids-reporter/draft-renderer": "0.4.
|
|
26
|
+
"@kids-reporter/draft-renderer": "^0.4.2",
|
|
27
27
|
"draft-js": "^0.11.7"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|