@kids-reporter/draft-editor 1.0.26 → 1.0.27

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.
@@ -96,6 +96,7 @@ const FontStyler = exports.FontStyler = _styledComponents.default.div`
96
96
  const EditableBlock = props => {
97
97
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_EditableBlock, {
98
98
  className: props.className,
99
+ onClick: props.onClick,
99
100
  children: [props.component, /*#__PURE__*/(0, _jsxRuntime.jsxs)(EditButton, {
100
101
  onClick: props.onClick,
101
102
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kids-reporter/draft-editor",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -29,7 +29,7 @@
29
29
  "@keystone-ui/button": "^7.0.2",
30
30
  "@keystone-ui/fields": "^7.2.0",
31
31
  "@keystone-ui/modals": "^6.0.3",
32
- "@kids-reporter/draft-renderer": "^1.0.22",
32
+ "@kids-reporter/draft-renderer": "^1.0.23",
33
33
  "@twreporter/errors": "^1.1.2",
34
34
  "axios": "^1.12.2",
35
35
  "draft-js": "^0.11.7"