@atlaskit/editor-plugin-card 0.10.5 → 0.10.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 0.10.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#42350](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42350) [`5c905e458da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c905e458da) - [ux] Fixed an issue where a blinking cursor would appear before a selected datasource node.
8
+
3
9
  ## 0.10.5
4
10
 
5
11
  ### Patch Changes
@@ -151,6 +151,7 @@ var Datasource = exports.Datasource = /*#__PURE__*/function (_ReactNodeView) {
151
151
  key: "createDomRef",
152
152
  value: function createDomRef() {
153
153
  var domRef = document.createElement('div');
154
+ domRef.setAttribute('contenteditable', 'true');
154
155
  domRef.classList.add(_styles.SmartCardSharedCssClassName.DATASOURCE_CONTAINER);
155
156
  return domRef;
156
157
  }
@@ -118,6 +118,7 @@ export class Datasource extends ReactNodeView {
118
118
 
119
119
  createDomRef() {
120
120
  const domRef = document.createElement('div');
121
+ domRef.setAttribute('contenteditable', 'true');
121
122
  domRef.classList.add(SmartCardSharedCssClassName.DATASOURCE_CONTAINER);
122
123
  return domRef;
123
124
  }
@@ -145,6 +145,7 @@ export var Datasource = /*#__PURE__*/function (_ReactNodeView) {
145
145
  key: "createDomRef",
146
146
  value: function createDomRef() {
147
147
  var domRef = document.createElement('div');
148
+ domRef.setAttribute('contenteditable', 'true');
148
149
  domRef.classList.add(SmartCardSharedCssClassName.DATASOURCE_CONTAINER);
149
150
  return domRef;
150
151
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "0.10.5",
3
+ "version": "0.10.6",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -46,7 +46,7 @@
46
46
  "@atlaskit/editor-shared-styles": "^2.8.0",
47
47
  "@atlaskit/icon": "^21.12.0",
48
48
  "@atlaskit/link-analytics": "^8.3.0",
49
- "@atlaskit/link-datasource": "^1.10.0",
49
+ "@atlaskit/link-datasource": "^1.11.0",
50
50
  "@atlaskit/platform-feature-flags": "^0.2.0",
51
51
  "@atlaskit/smart-card": "^26.41.0",
52
52
  "@atlaskit/theme": "^12.6.0",