Compare commits

..

No commits in common. "271bd1a15e50b4a450030a654295cb1c3f8a4694" and "ac18fbdeef6801402e93b0a247f9b7b1d0f98ff5" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View file

@ -404,7 +404,7 @@ export default {
tool: localStorage.getItem('tool') ?? 'heading',
author: localStorage.getItem('author') ?? 'Author name',
authorSize: localStorage.getItem('authorSize') ?? 1.5,
authorShow: localStorage.getItem('authorShow') ?? true,
authorShow: localStorage.getItem('authorShow') ?? 1,
authorPadding: localStorage.getItem('authorPadding') ?? 10,
authorAlign: localStorage.getItem('authorAlign') ?? 'left',
authorTextColor: localStorage.getItem('authorTextColor') ?? '#fff9e6',
@ -427,7 +427,7 @@ export default {
width: localStorage.getItem('width') ?? 1200,
height: localStorage.getItem('height') ?? 600,
contentPadding: localStorage.getItem('contentPadding') ?? 20,
allowHtml: localStorage.getItem('allowHtml') ?? false,
allowHtml: localStorage.getItem('allowHtml') ?? 0,
ogMaxWidth: 100,
tools: {
heading: 'Heading',

View file

@ -3,7 +3,7 @@
:id="id"
class="mr-2 rounded-md border-gray-300 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50"
type="checkbox"
:checked="modelValue === 'true' || modelValue === true"
:checked="modelValue === 'true'"
:class="$attrs.class"
@change="$emit('change', $event)"
@input="$emit('update:modelValue', $event.target.checked)"