@atlaskit/editor-plugin-text-color 6.3.13 → 6.3.14

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,14 @@
1
1
  # @atlaskit/editor-plugin-text-color
2
2
 
3
+ ## 6.3.14
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4d676bbdb3ce6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4d676bbdb3ce6) -
8
+ ts-ignore added temporarily to unblock local consumption for help-center, will be removed once
9
+ project refs are setup
10
+ - Updated dependencies
11
+
3
12
  ## 6.3.13
4
13
 
5
14
  ### Patch Changes
@@ -45,9 +45,11 @@ function createPlugin(dispatch, pluginConfig) {
45
45
  return new _safePlugin.SafePlugin({
46
46
  key: pluginKey,
47
47
  state: {
48
+ // @ts-ignore - Workaround for help-center local consumption
48
49
  init: function init(_config, editorState) {
49
50
  return createInitialPluginState(editorState, pluginConfig);
50
51
  },
52
+ // @ts-ignore - Workaround for help-center local consumption
51
53
  apply: function apply(tr, pluginState, _, newState) {
52
54
  var meta = tr.getMeta(pluginKey) || {};
53
55
  var nextState;
@@ -32,9 +32,13 @@ export function createPlugin(dispatch, pluginConfig) {
32
32
  return new SafePlugin({
33
33
  key: pluginKey,
34
34
  state: {
35
+ // @ts-ignore - Workaround for help-center local consumption
36
+
35
37
  init(_config, editorState) {
36
38
  return createInitialPluginState(editorState, pluginConfig);
37
39
  },
40
+ // @ts-ignore - Workaround for help-center local consumption
41
+
38
42
  apply(tr, pluginState, _, newState) {
39
43
  const meta = tr.getMeta(pluginKey) || {};
40
44
  let nextState;
@@ -36,9 +36,11 @@ export function createPlugin(dispatch, pluginConfig) {
36
36
  return new SafePlugin({
37
37
  key: pluginKey,
38
38
  state: {
39
+ // @ts-ignore - Workaround for help-center local consumption
39
40
  init: function init(_config, editorState) {
40
41
  return createInitialPluginState(editorState, pluginConfig);
41
42
  },
43
+ // @ts-ignore - Workaround for help-center local consumption
42
44
  apply: function apply(tr, pluginState, _, newState) {
43
45
  var meta = tr.getMeta(pluginKey) || {};
44
46
  var nextState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-color",
3
- "version": "6.3.13",
3
+ "version": "6.3.14",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",