@symbo.ls/atoms 2.29.70 → 2.29.72
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/Box.js +4 -2
- package/package.json +6 -6
package/Box.js
CHANGED
|
@@ -104,8 +104,10 @@ export const Box = {
|
|
|
104
104
|
attr: {
|
|
105
105
|
id: (el) => el.call('isString', el.props.id) && el.props.id,
|
|
106
106
|
title: (el) => el.call('isString', el.props.title) && el.props.title,
|
|
107
|
-
contentEditable: (el) =>
|
|
108
|
-
el.props.contentEditable || el.props.contenteditable
|
|
107
|
+
contentEditable: async (el) => {
|
|
108
|
+
const isEditable = el.props.contentEditable || el.props.contenteditable
|
|
109
|
+
if (isEditable) return await el.call('exec', isEditable, el, state)
|
|
110
|
+
},
|
|
109
111
|
dir: (el) => el.props.dir,
|
|
110
112
|
draggable: (el) => el.props.draggable,
|
|
111
113
|
hidden: (el) => el.props.hidden,
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/atoms",
|
|
3
|
-
"version": "2.29.
|
|
3
|
+
"version": "2.29.72",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "cc55625588e16c546fc22607d4e1c4bca46661e6",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@domql/state": "^2.29.
|
|
9
|
-
"@domql/utils": "^2.29.
|
|
10
|
-
"@symbo.ls/emotion": "^2.29.
|
|
11
|
-
"@symbo.ls/scratch": "^2.29.
|
|
8
|
+
"@domql/state": "^2.29.72",
|
|
9
|
+
"@domql/utils": "^2.29.72",
|
|
10
|
+
"@symbo.ls/emotion": "^2.29.72",
|
|
11
|
+
"@symbo.ls/scratch": "^2.29.72"
|
|
12
12
|
},
|
|
13
13
|
"source": "src/index.js",
|
|
14
14
|
"devDependencies": {
|