Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Dec 5, 2024
1 parent 69782e8 commit f0b4bdc
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 154 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

## Version History

### v3.60.2

- :rocket: Add `AutoWrap` option to Markdown

### v3.60.1

- :rocket: Manually call focus
Expand Down
9 changes: 8 additions & 1 deletion components/Markdown.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<template>
<div v-html='html' />
<div
:style='autowrap ? `white-space: pre-wrap;` : ``'
v-html='html'
/>
</template>

<script>
Expand All @@ -11,6 +14,10 @@ export default {
markdown: {
type: String,
required: true
},
autowrap: {
type: Boolean,
default: true
}
},
computed: {
Expand Down
Loading

0 comments on commit f0b4bdc

Please sign in to comment.