@formio/js 5.1.0-dev.6026.7f60c92 → 5.1.0-dev.6026.929ea40

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.
@@ -269,10 +269,6 @@ class WizardBuilder extends WebformBuilder_1.default {
269
269
  const data = window.sessionStorage.getItem('formio.clipboard');
270
270
  if (data) {
271
271
  const schema = JSON.parse(data);
272
- if (schema.type !== 'panel') {
273
- window.sessionStorage.setItem('formio.isWizardPageCopied', 'false');
274
- return super.pasteComponent(component);
275
- }
276
272
  this.addPage(schema);
277
273
  }
278
274
  }
@@ -263,10 +263,6 @@ export default class WizardBuilder extends WebformBuilder {
263
263
  const data = window.sessionStorage.getItem('formio.clipboard');
264
264
  if (data) {
265
265
  const schema = JSON.parse(data);
266
- if (schema.type !== 'panel') {
267
- window.sessionStorage.setItem('formio.isWizardPageCopied', 'false');
268
- return super.pasteComponent(component);
269
- }
270
266
  this.addPage(schema);
271
267
  }
272
268
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.1.0-dev.6026.7f60c92",
3
+ "version": "5.1.0-dev.6026.929ea40",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {