diff --git a/docs/src/demos/Examples/Community/index.vue b/docs/src/demos/Examples/Community/index.vue index 3f4f1195..d64d4a4f 100644 --- a/docs/src/demos/Examples/Community/index.vue +++ b/docs/src/demos/Examples/Community/index.vue @@ -131,7 +131,7 @@ export default { computed: { percentage() { - return Math.round(100 / this.limit * this.editor.getCharacterCount()) + return Math.round((100 / this.limit) * this.editor.getCharacterCount()) }, },