Skip to content

Commit

Permalink
feat: Set the default height to 200
Browse files Browse the repository at this point in the history
  • Loading branch information
rennzhang committed May 29, 2022
1 parent 92c581d commit 1faa2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/src/components/index.vue
Expand Up @@ -193,7 +193,7 @@ const ready = () => {
unseenLineMarkers();
// prevents funky dynamic rendering
resize();
resize(props.width, props.height || 200);
emit("ready", cminstance.value as Editor);
watch(
[() => props.width, () => props.height],
Expand Down

0 comments on commit 1faa2f9

Please sign in to comment.