diff --git a/README.md b/README.md
index 0bc4c45..86e67f9 100644
--- a/README.md
+++ b/README.md
@@ -115,7 +115,7 @@ import { Designer } from 'sequential-workflow-designer';
const designer = Designer.create(placeholder, startDefinition, {
editors: {
- globalEditorProvider: editorProvider.createRootEditorProvider(),
+ rootEditorProvider: editorProvider.createRootEditorProvider(),
stepEditorProvider: editorProvider.createStepEditorProvider()
},
validator: {
diff --git a/demos/webpack-app/package.json b/demos/webpack-app/package.json
index deff817..ef98592 100644
--- a/demos/webpack-app/package.json
+++ b/demos/webpack-app/package.json
@@ -16,7 +16,7 @@
"dependencies": {
"xstate": "^4.38.2",
"sequential-workflow-model": "^0.2.0",
- "sequential-workflow-designer": "^0.16.1",
+ "sequential-workflow-designer": "^0.17.0",
"sequential-workflow-machine": "^0.4.0",
"sequential-workflow-editor-model": "^0.11.0",
"sequential-workflow-editor": "^0.11.0"
diff --git a/demos/webpack-app/public/assets/editors.css b/demos/webpack-app/public/assets/editors.css
index 85b2186..f0f811f 100644
--- a/demos/webpack-app/public/assets/editors.css
+++ b/demos/webpack-app/public/assets/editors.css
@@ -12,7 +12,7 @@ input,
textarea {
font: 14px/1.3em Arial, Verdana, sans-serif;
}
-.sqd-global-editor {
+.sqd-root-editor {
padding: 10px;
line-height: 1.3em;
box-sizing: border-box;
diff --git a/demos/webpack-app/public/assets/placement-restrictions.css b/demos/webpack-app/public/assets/placement-restrictions.css
index 85b2186..f0f811f 100644
--- a/demos/webpack-app/public/assets/placement-restrictions.css
+++ b/demos/webpack-app/public/assets/placement-restrictions.css
@@ -12,7 +12,7 @@ input,
textarea {
font: 14px/1.3em Arial, Verdana, sans-serif;
}
-.sqd-global-editor {
+.sqd-root-editor {
padding: 10px;
line-height: 1.3em;
box-sizing: border-box;
diff --git a/demos/webpack-app/src/editors/app.ts b/demos/webpack-app/src/editors/app.ts
index 5cbdc18..c80c840 100644
--- a/demos/webpack-app/src/editors/app.ts
+++ b/demos/webpack-app/src/editors/app.ts
@@ -17,7 +17,7 @@ export class App {
const designer = Designer.create(placeholder, editorProvider.activateDefinition(), {
controlBar: true,
editors: {
- globalEditorProvider: () => {
+ rootEditorProvider: () => {
const editor = document.createElement('div');
editor.innerHTML =
'This demo showcases all the supported editors by the Sequential Workflow Editor. GitHub';
diff --git a/demos/webpack-app/src/placement-restrictions/app.ts b/demos/webpack-app/src/placement-restrictions/app.ts
index 28356ce..284183c 100644
--- a/demos/webpack-app/src/placement-restrictions/app.ts
+++ b/demos/webpack-app/src/placement-restrictions/app.ts
@@ -24,7 +24,7 @@ export class App {
Designer.create(placeholder, definition, {
controlBar: true,
editors: {
- globalEditorProvider: () => {
+ rootEditorProvider: () => {
const editor = document.createElement('div');
editor.innerHTML =
'This example shows how to restrict the placement of steps. The write socket step can only be placed inside a socket step. GitHub';
diff --git a/demos/webpack-app/src/playground/app.ts b/demos/webpack-app/src/playground/app.ts
index dc1b320..c4e55cb 100644
--- a/demos/webpack-app/src/playground/app.ts
+++ b/demos/webpack-app/src/playground/app.ts
@@ -20,7 +20,7 @@ export class App {
const designer: Designer = Designer.create(placeholder, startState.definition, {
controlBar: true,
editors: {
- globalEditorProvider: editorProvider.createRootEditorProvider(),
+ rootEditorProvider: editorProvider.createRootEditorProvider(),
stepEditorProvider: editorProvider.createStepEditorProvider()
},
validator: {
diff --git a/yarn.lock b/yarn.lock
index 8ad06bb..082d73a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -5163,10 +5163,10 @@ semver@^7.3.4, semver@^7.3.7, semver@^7.3.8:
dependencies:
lru-cache "^6.0.0"
-sequential-workflow-designer@^0.16.1:
- version "0.16.1"
- resolved "https://registry.yarnpkg.com/sequential-workflow-designer/-/sequential-workflow-designer-0.16.1.tgz#9c70627dab95022f53702d86c4fecbc50cd99a90"
- integrity sha512-YGp6FD9GJmVFWr+d3ztENE72pp5Glvi6CCEVyZtmlghDY8tA+2C0RcHDYAvUeZg4ZIJyN8Y9Dlkzc/5LnJsEdA==
+sequential-workflow-designer@^0.17.0:
+ version "0.17.0"
+ resolved "https://registry.yarnpkg.com/sequential-workflow-designer/-/sequential-workflow-designer-0.17.0.tgz#fb126b4a45fef107ac54b041e116ddaca607e48f"
+ integrity sha512-RzKn99irxTqsLn84RkMp7Q6XnvVjufG3xTKUy89uSC9a4CgG0k70jL36zLXxpW7cGEjjzGK/LgIeQ9/kiUOInQ==
dependencies:
sequential-workflow-model "^0.2.0"