@atlaskit/editor-plugin-local-id 2.0.2 → 3.0.1

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,18 @@
1
1
  # @atlaskit/editor-plugin-local-id
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`11af83fec458a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/11af83fec458a) -
8
+ Don't add localId transactions to history
9
+
10
+ ## 3.0.0
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 2.0.2
4
17
 
5
18
  ### Patch Changes
@@ -163,4 +163,5 @@ var createPlugin = exports.createPlugin = function createPlugin() {
163
163
  */
164
164
  var addLocalIdToNode = exports.addLocalIdToNode = function addLocalIdToNode(pos, tr) {
165
165
  tr.setNodeAttribute(pos, 'localId', _adfSchema.uuid.generate());
166
+ tr.setMeta('addToHistory', false);
166
167
  };
@@ -147,4 +147,5 @@ export const createPlugin = () => {
147
147
  */
148
148
  export const addLocalIdToNode = (pos, tr) => {
149
149
  tr.setNodeAttribute(pos, 'localId', uuid.generate());
150
+ tr.setMeta('addToHistory', false);
150
151
  };
@@ -157,4 +157,5 @@ export var createPlugin = function createPlugin() {
157
157
  */
158
158
  export var addLocalIdToNode = function addLocalIdToNode(pos, tr) {
159
159
  tr.setNodeAttribute(pos, 'localId', uuid.generate());
160
+ tr.setMeta('addToHistory', false);
160
161
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-local-id",
3
- "version": "2.0.2",
3
+ "version": "3.0.1",
4
4
  "description": "LocalId plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -28,14 +28,14 @@
28
28
  "sideEffects": false,
29
29
  "atlaskit:src": "src/index.ts",
30
30
  "dependencies": {
31
- "@atlaskit/adf-schema": "^50.2.3",
31
+ "@atlaskit/adf-schema": "^51.0.0",
32
32
  "@atlaskit/editor-prosemirror": "7.0.0",
33
33
  "@atlaskit/platform-feature-flags": "^1.1.0",
34
34
  "@babel/runtime": "^7.0.0",
35
35
  "raf-schd": "^4.0.3"
36
36
  },
37
37
  "peerDependencies": {
38
- "@atlaskit/editor-common": "^108.7.0",
38
+ "@atlaskit/editor-common": "^109.2.0",
39
39
  "react": "^18.2.0"
40
40
  },
41
41
  "devDependencies": {