@kids-reporter/cms-core 1.0.2 → 1.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.
|
@@ -13,8 +13,6 @@ var _draftEditor = require("@kids-reporter/draft-editor");
|
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
14
|
// eslint-disable-line
|
|
15
15
|
|
|
16
|
-
// import { RichTextEditor, decorators } from '@mirrormedia/lilith-draft-editor'
|
|
17
|
-
|
|
18
16
|
const Field = ({
|
|
19
17
|
field,
|
|
20
18
|
value,
|
package/lib/index.js
CHANGED
|
@@ -15,16 +15,13 @@ var _manualOrderRelationship = _interopRequireDefault(require("./utils/manual-or
|
|
|
15
15
|
var _richTextEditor = require("./custom-fields/rich-text-editor");
|
|
16
16
|
var _draftEditor = require("@kids-reporter/draft-editor");
|
|
17
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
|
-
const customFields = {
|
|
18
|
+
const customFields = exports.customFields = {
|
|
19
19
|
richTextEditor: _richTextEditor.richTextEditor
|
|
20
20
|
};
|
|
21
|
-
exports.
|
|
22
|
-
const utils = {
|
|
21
|
+
const utils = exports.utils = {
|
|
23
22
|
addManualOrderRelationshipFields: _manualOrderRelationship.default
|
|
24
23
|
};
|
|
25
|
-
exports.
|
|
26
|
-
var _default = {
|
|
24
|
+
var _default = exports.default = {
|
|
27
25
|
customFields,
|
|
28
26
|
utils
|
|
29
|
-
};
|
|
30
|
-
exports.default = _default;
|
|
27
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kids-reporter/cms-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@keystone-ui/fields": "^7.2.0",
|
|
34
34
|
"@keystone-ui/modals": "^6.0.3",
|
|
35
35
|
"@twreporter/errors": "^1.1.1",
|
|
36
|
-
"@kids-reporter/draft-editor": "1.0.
|
|
36
|
+
"@kids-reporter/draft-editor": "1.0.4",
|
|
37
37
|
"axios": "^0.26.0",
|
|
38
38
|
"draft-convert": "^2.1.12",
|
|
39
39
|
"draft-js": "^0.11.7",
|
|
@@ -11,7 +11,6 @@ import {
|
|
|
11
11
|
} from '@keystone-6/core/types'
|
|
12
12
|
import { CellContainer, CellLink } from '@keystone-6/core/admin-ui/components'
|
|
13
13
|
import { EditorState, convertFromRaw, convertToRaw } from 'draft-js'
|
|
14
|
-
// import { RichTextEditor, decorators } from '@mirrormedia/lilith-draft-editor'
|
|
15
14
|
import { RichTextEditor, decorator } from '@kids-reporter/draft-editor'
|
|
16
15
|
|
|
17
16
|
export const Field = ({
|