diff --git a/demo/src/index.js b/demo/src/index.js index 831f18b0..696fb757 100644 --- a/demo/src/index.js +++ b/demo/src/index.js @@ -124,7 +124,7 @@ function Demo() { TOOLTIP_BACKGROUND: null, TOOLTIP: null, TOOLBAR_SHADOW: null, - WIDTH: '600px', + EDITOR_WIDTH: '600px', }; const demo = /src/**/?(*.)(spec|test).{js,jsx,mjs}" ] } -} \ No newline at end of file +} diff --git a/src/ContractEditor/README.md b/src/ContractEditor/README.md index 028440aa..e39f488a 100644 --- a/src/ContractEditor/README.md +++ b/src/ContractEditor/README.md @@ -28,12 +28,16 @@ const editorPropsObject = { BUTTON_SYMBOL_INACTIVE (string), BUTTON_SYMBOL_ACTIVE (string), DROPDOWN_COLOR (string), - HEIGHT (string), + EDITOR_BORDER (string), + EDITOR_BORDER_RADIUS (string), + EDITOR_HEIGHT (string), + EDITOR_MARGIN (string), + EDITOR_SHADOW (string), + EDITOR_WIDTH (string), TOOLBAR_BACKGROUND (string), TOOLTIP_BACKGROUND (string), TOOLTIP (string), TOOLBAR_SHADOW (string), - WIDTH (string), } const givenState = { @@ -112,12 +116,16 @@ editorProps = { BUTTON_SYMBOL_INACTIVE, // (String) BUTTON_SYMBOL_ACTIVE, // (String) DROPDOWN_COLOR, // (String) - HEIGHT, // (String) + EDITOR_BORDER, // (String) + EDITOR_BORDER_RADIUS, // (String) + EDITOR_HEIGHT, // (String) + EDITOR_MARGIN, // (String) + EDITOR_SHADOW, // (String) + EDITOR_WIDTH, // (String) TOOLBAR_BACKGROUND, // (String) TOOLTIP_BACKGROUND, // (String) TOOLTIP, // (String) TOOLBAR_SHADOW, // (String) - WIDTH, // (String) } ``` diff --git a/src/ContractEditor/__snapshots__/index.test.js.snap b/src/ContractEditor/__snapshots__/index.test.js.snap index 1a98ba43..c8779707 100644 --- a/src/ContractEditor/__snapshots__/index.test.js.snap +++ b/src/ContractEditor/__snapshots__/index.test.js.snap @@ -372,7 +372,7 @@ exports[` on initialization renders page correctly 1`] = `