@atlaskit/editor-presets 5.0.18 → 5.0.19
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 +7 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +1 -1
- package/dist/es2019/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +1 -1
- package/dist/esm/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +1 -1
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 5.0.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d129b4a5b7e21`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d129b4a5b7e21) -
|
|
8
|
+
Clean up feature gate `platform_editor_ai_aifc_space_shortcut`
|
|
9
|
+
|
|
3
10
|
## 5.0.18
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -39,7 +39,7 @@ function placeholderPluginOptions(_ref) {
|
|
|
39
39
|
if (options.viewMode === 'view') {
|
|
40
40
|
return undefined;
|
|
41
41
|
}
|
|
42
|
-
if (shouldShowSpaceShortcut
|
|
42
|
+
if (shouldShowSpaceShortcut) {
|
|
43
43
|
return (0, _createAdfFromHtml.createADFFromHTML)(intl.formatMessage(_i18n.i18n.placeholderADF, {
|
|
44
44
|
code: function code(parts) {
|
|
45
45
|
return "<code>".concat(parts, "</code>");
|
|
@@ -34,7 +34,7 @@ export function placeholderPluginOptions({
|
|
|
34
34
|
if (options.viewMode === 'view') {
|
|
35
35
|
return undefined;
|
|
36
36
|
}
|
|
37
|
-
if (shouldShowSpaceShortcut
|
|
37
|
+
if (shouldShowSpaceShortcut) {
|
|
38
38
|
return createADFFromHTML(intl.formatMessage(i18n.placeholderADF, {
|
|
39
39
|
code: parts => `<code>${parts}</code>`
|
|
40
40
|
}));
|
|
@@ -33,7 +33,7 @@ export function placeholderPluginOptions(_ref) {
|
|
|
33
33
|
if (options.viewMode === 'view') {
|
|
34
34
|
return undefined;
|
|
35
35
|
}
|
|
36
|
-
if (shouldShowSpaceShortcut
|
|
36
|
+
if (shouldShowSpaceShortcut) {
|
|
37
37
|
return createADFFromHTML(intl.formatMessage(i18n.placeholderADF, {
|
|
38
38
|
code: function code(parts) {
|
|
39
39
|
return "<code>".concat(parts, "</code>");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.19",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Public editor presets for Atlassian Editor containing base configurations for Confluence and other products",
|
|
6
6
|
"publishConfig": {
|
|
@@ -176,9 +176,6 @@
|
|
|
176
176
|
"platform_editor_ai_aifc_streaming": {
|
|
177
177
|
"type": "boolean"
|
|
178
178
|
},
|
|
179
|
-
"platform_editor_ai_aifc_space_shortcut": {
|
|
180
|
-
"type": "boolean"
|
|
181
|
-
},
|
|
182
179
|
"platform_editor_table_fixed_column_width_prop": {
|
|
183
180
|
"type": "boolean"
|
|
184
181
|
},
|