-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
let codeVal = ref({ "name": "maybaby", "year": 25, "weight": 45, "height": 165 }
);
<code-mirror
ref="editorRef"
v-model="codeVal"
:basic="true"
:dark="getTheme() == 'dark' ? true : false"
:lang="lang"
:placeholder="placeholder"
:phrases="phrases"
style="height: 400px;"
:extensions="extensions"
:tab="true"
:tab-size="2"
:wrap="true"
:allow-multiple-selections="true"
:readonly="false"
:disabled="false"
line-separator="\r\n"
@contextmenu="handleContextMenu"
@change="handleChange"
/>
Remove line-separator="\r\n" and it will be displayed normally
Metadata
Metadata
Assignees
Labels
No labels