Skip to content

Commit 66bedbe

Browse files
Adds scope to the template DSL.
1 parent 7df29db commit 66bedbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

structurizr-onpremises/src/main/webapp/WEB-INF/views/dsl-editor.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
if (dslSource !== undefined) {
217217
editorSource = structurizr.util.atob(dslSource);
218218
} else {
219-
editorSource = 'workspace "Name" "Description" {\n\n\tmodel {\n\t}\n\n}';
219+
editorSource = 'workspace "Name" "Description" {\n\n\tmodel {\n\t}\n\n\tconfiguration {\n\t\tscope softwaresystem\n\t}\n\n}';
220220
}
221221
222222
editorSource = editorSource.replaceAll('\t', ' ');

0 commit comments

Comments
 (0)