feat: add markdown toolbar
This commit is contained in:
1 parent
e75c674cb8
commit
3dcf173826
9 files changed
+192
-19
No files matched your search
@@ -44,6 +44,9 @@
|
||||
sm: 'px-2 py-1',
|
||||
md: 'px-3 py-1.5',
|
||||
lg: 'px-4 py-2',
|
||||
'square-sm': 'w-6 h-6',
|
||||
'square-md': 'w-8 h-8',
|
||||
'square-lg': 'w-10 h-10',
|
||||
}
|
||||
|
||||
const buttonRoundness = {
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
export let maxlength: number = -1
|
||||
export let rows: number = 3
|
||||
export let required: boolean = false
|
||||
export let item: any = undefined
|
||||
|
||||
let clazz = ''
|
||||
export { clazz as class }
|
||||
@@ -27,6 +28,7 @@
|
||||
{/if}
|
||||
<textarea
|
||||
bind:value
|
||||
bind:this={item}
|
||||
on:input={(e) => dispatcher('input', e)}
|
||||
{placeholder}
|
||||
{maxlength}
|
||||
|
||||
Reference in new issue
Block a user