your personal website on atproto - mirror blento.app

Merge pull request #35 from flo-bit/fix-formatting

formatting

authored by Florian and committed by GitHub 1fd59d31 1f739491

+10 -11
+3 -2
src/lib/components/MarkdownTextEditor.svelte
··· 104 104 105 105 editorProps: { 106 106 attributes: { 107 - class: 'outline-none w-full text-base-600 dark:text-base-400 prose dark:prose-invert prose-a:text-accent-500 prose-a:no-underline' 107 + class: 108 + 'outline-none w-full text-base-600 dark:text-base-400 prose dark:prose-invert prose-a:text-accent-500 prose-a:no-underline' 108 109 }, 109 110 handleDOMEvents: { drop: () => false } 110 111 } ··· 118 119 }); 119 120 </script> 120 121 121 - <div class={["w-full cursor-text", className]} bind:this={element}></div> 122 + <div class={['w-full cursor-text', className]} bind:this={element}></div> 122 123 123 124 <style> 124 125 :global(.tiptap p.is-editor-empty:first-child::before) {
+7 -9
src/lib/website/EditableProfile.svelte
··· 132 132 <!-- Editable Description --> 133 133 <div class="scrollbar -mx-4 grow overflow-x-hidden overflow-y-scroll px-4"> 134 134 {#if data.publication} 135 - 136 - 137 - <MarkdownTextEditor 138 - bind:editor={descriptionEditor} 139 - bind:contentDict={data.publication} 140 - key="description" 141 - placeholder="Add a description... (supports markdown)" 142 - class="" 143 - /> 135 + <MarkdownTextEditor 136 + bind:editor={descriptionEditor} 137 + bind:contentDict={data.publication} 138 + key="description" 139 + placeholder="Add a description... (supports markdown)" 140 + class="" 141 + /> 144 142 {/if} 145 143 </div> 146 144