@atlaskit/editor-plugin-placeholder 2.0.2 → 2.0.3

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,13 @@
1
1
  # @atlaskit/editor-plugin-placeholder
2
2
 
3
+ ## 2.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#122838](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/122838)
8
+ [`ebcf63371e09c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ebcf63371e09c) -
9
+ ED-26952 Update placeholder text to remove quotes around /
10
+
3
11
  ## 2.0.2
4
12
 
5
13
  ### Patch Changes
@@ -20,8 +20,8 @@ var placeholderTestId = exports.placeholderTestId = 'placeholder-test-id';
20
20
 
21
21
  // TODO: Use i18n for new placeholders
22
22
  var SHORT_NODE_PLACEHOLDER_TEXT = exports.SHORT_NODE_PLACEHOLDER_TEXT = '/ to insert';
23
- var NODE_PLACEHOLDER_TEXT = exports.NODE_PLACEHOLDER_TEXT = 'Type "/" to insert elements';
24
- var EMPTY_LINE_PLACEHOLDER_TEXT = exports.EMPTY_LINE_PLACEHOLDER_TEXT = 'Select + or type “/” to insert elements';
23
+ var NODE_PLACEHOLDER_TEXT = exports.NODE_PLACEHOLDER_TEXT = 'Type / to insert elements';
24
+ var EMPTY_LINE_PLACEHOLDER_TEXT = exports.EMPTY_LINE_PLACEHOLDER_TEXT = 'Select + or type / to insert elements';
25
25
  var nodeTypesWithLongPlaceholderText = exports.nodeTypesWithLongPlaceholderText = ['expand', 'panel'];
26
26
  var nodeTypesWithShortPlaceholderText = exports.nodeTypesWithShortPlaceholderText = ['tableCell', 'tableHeader'];
27
27
  function createPlaceholderDecoration(editorState, placeholderText) {
@@ -11,8 +11,8 @@ export const placeholderTestId = 'placeholder-test-id';
11
11
 
12
12
  // TODO: Use i18n for new placeholders
13
13
  export const SHORT_NODE_PLACEHOLDER_TEXT = '/ to insert';
14
- export const NODE_PLACEHOLDER_TEXT = 'Type "/" to insert elements';
15
- export const EMPTY_LINE_PLACEHOLDER_TEXT = 'Select + or type “/” to insert elements';
14
+ export const NODE_PLACEHOLDER_TEXT = 'Type / to insert elements';
15
+ export const EMPTY_LINE_PLACEHOLDER_TEXT = 'Select + or type / to insert elements';
16
16
  export const nodeTypesWithLongPlaceholderText = ['expand', 'panel'];
17
17
  export const nodeTypesWithShortPlaceholderText = ['tableCell', 'tableHeader'];
18
18
  export function createPlaceholderDecoration(editorState, placeholderText, pos = 1) {
@@ -11,8 +11,8 @@ export var placeholderTestId = 'placeholder-test-id';
11
11
 
12
12
  // TODO: Use i18n for new placeholders
13
13
  export var SHORT_NODE_PLACEHOLDER_TEXT = '/ to insert';
14
- export var NODE_PLACEHOLDER_TEXT = 'Type "/" to insert elements';
15
- export var EMPTY_LINE_PLACEHOLDER_TEXT = 'Select + or type “/” to insert elements';
14
+ export var NODE_PLACEHOLDER_TEXT = 'Type / to insert elements';
15
+ export var EMPTY_LINE_PLACEHOLDER_TEXT = 'Select + or type / to insert elements';
16
16
  export var nodeTypesWithLongPlaceholderText = ['expand', 'panel'];
17
17
  export var nodeTypesWithShortPlaceholderText = ['tableCell', 'tableHeader'];
18
18
  export function createPlaceholderDecoration(editorState, placeholderText) {
@@ -7,8 +7,8 @@ import type { PlaceholderPlugin } from './placeholderPluginType';
7
7
  export declare const pluginKey: PluginKey<any>;
8
8
  export declare const placeholderTestId = "placeholder-test-id";
9
9
  export declare const SHORT_NODE_PLACEHOLDER_TEXT = "/ to insert";
10
- export declare const NODE_PLACEHOLDER_TEXT = "Type \"/\" to insert elements";
11
- export declare const EMPTY_LINE_PLACEHOLDER_TEXT = "Select + or type \u201C/\u201D to insert elements";
10
+ export declare const NODE_PLACEHOLDER_TEXT = "Type / to insert elements";
11
+ export declare const EMPTY_LINE_PLACEHOLDER_TEXT = "Select + or type / to insert elements";
12
12
  export declare const nodeTypesWithLongPlaceholderText: string[];
13
13
  export declare const nodeTypesWithShortPlaceholderText: string[];
14
14
  export declare function createPlaceholderDecoration(editorState: EditorState, placeholderText: string, pos?: number): DecorationSet;
@@ -7,8 +7,8 @@ import type { PlaceholderPlugin } from './placeholderPluginType';
7
7
  export declare const pluginKey: PluginKey<any>;
8
8
  export declare const placeholderTestId = "placeholder-test-id";
9
9
  export declare const SHORT_NODE_PLACEHOLDER_TEXT = "/ to insert";
10
- export declare const NODE_PLACEHOLDER_TEXT = "Type \"/\" to insert elements";
11
- export declare const EMPTY_LINE_PLACEHOLDER_TEXT = "Select + or type \u201C/\u201D to insert elements";
10
+ export declare const NODE_PLACEHOLDER_TEXT = "Type / to insert elements";
11
+ export declare const EMPTY_LINE_PLACEHOLDER_TEXT = "Select + or type / to insert elements";
12
12
  export declare const nodeTypesWithLongPlaceholderText: string[];
13
13
  export declare const nodeTypesWithShortPlaceholderText: string[];
14
14
  export declare function createPlaceholderDecoration(editorState: EditorState, placeholderText: string, pos?: number): DecorationSet;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-placeholder",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Placeholder plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",