Skip to content

Commit 5bdc2e6

Browse files
authored
fix(docs): fix playground hang issues. fixes #1843 (#2177)
* docs(playground): fix playground issues * add render error handlers * move console overrides to before run during mount * Update play.vue * Update play.vue * revert to default if local storage data is older than 7 days * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * fix autocorrect typo * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * fix autocorrect * Update play.vue * Update play.vue * Update play.vue * Update play.vue * debugging... * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * store orignal loggers on non reactive props * commenting out console overrides * disable global error handler * only override console.log * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * lint * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update codemirror.vue Minor updates * Update play.vue * lint * Update codemirror.vue * Update codemirror.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue * Update play.vue
1 parent cc02130 commit 5bdc2e6

File tree

2 files changed

+263
-146
lines changed

2 files changed

+263
-146
lines changed

docs/components/codemirror.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ export default {
4444
type: String,
4545
default: 'indent'
4646
},
47+
tabSize: {
48+
type: [Number, String],
49+
default: 2
50+
},
4751
lineWrapping: {
4852
type: Boolean,
4953
default: true
@@ -74,6 +78,7 @@ export default {
7478
mode: this.mode,
7579
theme: this.theme,
7680
tabMode: this.tabMode,
81+
tabSize: parseInt(this.tabSize, 10) || 2,
7782
lineWrapping: this.lineWrapping,
7883
lineNumbers: this.lineNumbers,
7984
autoCloseTags: true,

0 commit comments

Comments
 (0)