You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The options to configure the component are described into the spoiler below. Be aware that options are only intended as a component setup at creation-time. <details><summary><b>spoiler</b></summary>
156
+
```javascript
157
+
{
158
+
// The allowed tabs to show inside the component.
159
+
// Defaults to ['builder', 'json', 'renderer']
160
+
tabs: ['builder', 'json', 'renderer'],
161
+
162
+
// The tab active at component startup. Defaults to 'builder'
163
+
tab:'builder',
164
+
165
+
// Builder tab options
166
+
builder: {
167
+
// Whether to hide or not the embedded select to change the form display
168
+
hideDisplaySelect:false
169
+
},
170
+
171
+
// Json tab options
172
+
json: {
173
+
// The locations relative to the json editor where to show the panel
174
+
// for applying json changes to the form. Defaults to ['top', 'bottom']
175
+
changePanelLocations: ['top', 'bottom'],
176
+
177
+
// Json editor options
178
+
editor: {
179
+
// Whether to expand or not all nodes in tree mode. This is
180
+
// an additional option not supported by the original jsoneditor.
181
+
expandAll:false,
182
+
183
+
// Other options supported by the original jsoneditor.
184
+
// See jsoneditor API documentation at the link below
Copy file name to clipboardExpand all lines: projects/formio-editor/npm-publish.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ To publish a new npm package follow the steps below:
16
16
```bash
17
17
npm install dist/formio-editor
18
18
```
19
-
- Unfortunately, before publishing the package we have to rebuild the library. This is needed because for some reason the tests and the build of the app make`dist/formio-editor` dirt with ivy files that npm doesn't like for publishing.
19
+
- Unfortunately, before publishing the package we have to rebuild the library. This is needed because for some reason the tests and the build of the app dirt`dist/formio-editor` with ivy files that npm doesn't like for publishing.
0 commit comments