Compare commits
2 commits
ac18fbdeef
...
271bd1a15e
Author | SHA1 | Date | |
---|---|---|---|
Simon Vieille | 271bd1a15e | ||
Simon Vieille | f8809926c1 |
|
@ -404,7 +404,7 @@ export default {
|
||||||
tool: localStorage.getItem('tool') ?? 'heading',
|
tool: localStorage.getItem('tool') ?? 'heading',
|
||||||
author: localStorage.getItem('author') ?? 'Author name',
|
author: localStorage.getItem('author') ?? 'Author name',
|
||||||
authorSize: localStorage.getItem('authorSize') ?? 1.5,
|
authorSize: localStorage.getItem('authorSize') ?? 1.5,
|
||||||
authorShow: localStorage.getItem('authorShow') ?? 1,
|
authorShow: localStorage.getItem('authorShow') ?? true,
|
||||||
authorPadding: localStorage.getItem('authorPadding') ?? 10,
|
authorPadding: localStorage.getItem('authorPadding') ?? 10,
|
||||||
authorAlign: localStorage.getItem('authorAlign') ?? 'left',
|
authorAlign: localStorage.getItem('authorAlign') ?? 'left',
|
||||||
authorTextColor: localStorage.getItem('authorTextColor') ?? '#fff9e6',
|
authorTextColor: localStorage.getItem('authorTextColor') ?? '#fff9e6',
|
||||||
|
@ -427,7 +427,7 @@ export default {
|
||||||
width: localStorage.getItem('width') ?? 1200,
|
width: localStorage.getItem('width') ?? 1200,
|
||||||
height: localStorage.getItem('height') ?? 600,
|
height: localStorage.getItem('height') ?? 600,
|
||||||
contentPadding: localStorage.getItem('contentPadding') ?? 20,
|
contentPadding: localStorage.getItem('contentPadding') ?? 20,
|
||||||
allowHtml: localStorage.getItem('allowHtml') ?? 0,
|
allowHtml: localStorage.getItem('allowHtml') ?? false,
|
||||||
ogMaxWidth: 100,
|
ogMaxWidth: 100,
|
||||||
tools: {
|
tools: {
|
||||||
heading: 'Heading',
|
heading: 'Heading',
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
:id="id"
|
: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"
|
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"
|
type="checkbox"
|
||||||
:checked="modelValue === 'true'"
|
:checked="modelValue === 'true' || modelValue === true"
|
||||||
:class="$attrs.class"
|
:class="$attrs.class"
|
||||||
@change="$emit('change', $event)"
|
@change="$emit('change', $event)"
|
||||||
@input="$emit('update:modelValue', $event.target.checked)"
|
@input="$emit('update:modelValue', $event.target.checked)"
|
||||||
|
|
Loading…
Reference in a new issue