@atlaskit/editor-plugin-code-bidi-warning 1.2.2 → 1.2.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-code-bidi-warning
|
|
2
2
|
|
|
3
|
+
## 1.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#139334](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/139334)
|
|
8
|
+
[`30793649657c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/30793649657c0) -
|
|
9
|
+
[HOT-111629] We had an incident where the last character disappears when hitting the enter key on
|
|
10
|
+
windows OS for Korean characters. Bumping to prosemirror-view@1.34.2 for the fix.
|
|
11
|
+
|
|
12
|
+
## 1.2.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#139052](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/139052)
|
|
17
|
+
[`6e5c1f6bbf028`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6e5c1f6bbf028) -
|
|
18
|
+
removed 'platform' from cardPlugin configs
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 1.2.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -17,20 +17,14 @@ var createPlugin = exports.createPlugin = function createPlugin(_ref, _ref2) {
|
|
|
17
17
|
return new _safePlugin.SafePlugin({
|
|
18
18
|
key: _pluginKey.codeBidiWarningPluginKey,
|
|
19
19
|
state: (0, _pluginFactory.createPluginState)(dispatch, function (state) {
|
|
20
|
-
// The appearance being mobile indicates we are in an editor being
|
|
21
|
-
// rendered by mobile bridge in a web view.
|
|
22
|
-
// The tooltip is likely to have unexpected behaviour there, with being cut
|
|
23
|
-
// off, so we disable it. This is also to keep the behaviour consistent with
|
|
24
|
-
// the rendering in the mobile Native Renderer.
|
|
25
|
-
var tooltipEnabled = appearance !== 'mobile';
|
|
26
20
|
return {
|
|
27
21
|
decorationSet: (0, _pluginFactory.createBidiWarningsDecorationSetFromDoc)({
|
|
28
22
|
doc: state.doc,
|
|
29
23
|
codeBidiWarningLabel: codeBidiWarningLabel,
|
|
30
|
-
tooltipEnabled:
|
|
24
|
+
tooltipEnabled: true
|
|
31
25
|
}),
|
|
32
26
|
codeBidiWarningLabel: codeBidiWarningLabel,
|
|
33
|
-
tooltipEnabled:
|
|
27
|
+
tooltipEnabled: true
|
|
34
28
|
};
|
|
35
29
|
}),
|
|
36
30
|
props: {
|
|
@@ -13,20 +13,14 @@ export const createPlugin = ({
|
|
|
13
13
|
return new SafePlugin({
|
|
14
14
|
key: codeBidiWarningPluginKey,
|
|
15
15
|
state: createPluginState(dispatch, state => {
|
|
16
|
-
// The appearance being mobile indicates we are in an editor being
|
|
17
|
-
// rendered by mobile bridge in a web view.
|
|
18
|
-
// The tooltip is likely to have unexpected behaviour there, with being cut
|
|
19
|
-
// off, so we disable it. This is also to keep the behaviour consistent with
|
|
20
|
-
// the rendering in the mobile Native Renderer.
|
|
21
|
-
const tooltipEnabled = appearance !== 'mobile';
|
|
22
16
|
return {
|
|
23
17
|
decorationSet: createBidiWarningsDecorationSetFromDoc({
|
|
24
18
|
doc: state.doc,
|
|
25
19
|
codeBidiWarningLabel,
|
|
26
|
-
tooltipEnabled
|
|
20
|
+
tooltipEnabled: true
|
|
27
21
|
}),
|
|
28
22
|
codeBidiWarningLabel,
|
|
29
|
-
tooltipEnabled
|
|
23
|
+
tooltipEnabled: true
|
|
30
24
|
};
|
|
31
25
|
}),
|
|
32
26
|
props: {
|
|
@@ -11,20 +11,14 @@ export var createPlugin = function createPlugin(_ref, _ref2) {
|
|
|
11
11
|
return new SafePlugin({
|
|
12
12
|
key: codeBidiWarningPluginKey,
|
|
13
13
|
state: createPluginState(dispatch, function (state) {
|
|
14
|
-
// The appearance being mobile indicates we are in an editor being
|
|
15
|
-
// rendered by mobile bridge in a web view.
|
|
16
|
-
// The tooltip is likely to have unexpected behaviour there, with being cut
|
|
17
|
-
// off, so we disable it. This is also to keep the behaviour consistent with
|
|
18
|
-
// the rendering in the mobile Native Renderer.
|
|
19
|
-
var tooltipEnabled = appearance !== 'mobile';
|
|
20
14
|
return {
|
|
21
15
|
decorationSet: createBidiWarningsDecorationSetFromDoc({
|
|
22
16
|
doc: state.doc,
|
|
23
17
|
codeBidiWarningLabel: codeBidiWarningLabel,
|
|
24
|
-
tooltipEnabled:
|
|
18
|
+
tooltipEnabled: true
|
|
25
19
|
}),
|
|
26
20
|
codeBidiWarningLabel: codeBidiWarningLabel,
|
|
27
|
-
tooltipEnabled:
|
|
21
|
+
tooltipEnabled: true
|
|
28
22
|
};
|
|
29
23
|
}),
|
|
30
24
|
props: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-code-bidi-warning",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "Code bidi warning plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -10,8 +10,6 @@
|
|
|
10
10
|
"atlassian": {
|
|
11
11
|
"team": "Editor: Core Experiences",
|
|
12
12
|
"singleton": true,
|
|
13
|
-
"inPublicMirror": false,
|
|
14
|
-
"releaseModel": "continuous",
|
|
15
13
|
"runReact18": false
|
|
16
14
|
},
|
|
17
15
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
@@ -33,9 +31,9 @@
|
|
|
33
31
|
".": "./src/index.ts"
|
|
34
32
|
},
|
|
35
33
|
"dependencies": {
|
|
36
|
-
"@atlaskit/code": "^15.
|
|
37
|
-
"@atlaskit/editor-common": "^
|
|
38
|
-
"@atlaskit/editor-prosemirror": "
|
|
34
|
+
"@atlaskit/code": "^15.6.0",
|
|
35
|
+
"@atlaskit/editor-common": "^89.0.0",
|
|
36
|
+
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
39
37
|
"@babel/runtime": "^7.0.0"
|
|
40
38
|
},
|
|
41
39
|
"peerDependencies": {
|