:typo: Fix typo in publish area

This commit is contained in:
LittleSheep 2024-02-05 22:56:24 +08:00
parent 7cf43656d8
commit e08fb6f4de

View File

@ -205,7 +205,7 @@ export default function PostPublish(props: {
<div class="flex flex-grow"> <div class="flex flex-grow">
<input name="title" value={props.editing?.title ?? ""} <input name="title" value={props.editing?.title ?? ""}
class={`${styles.publishInput} input w-full`} class={`${styles.publishInput} input w-full`}
placeholder="The describe for a long content (Optional)" /> placeholder="The describe for a long content" />
</div> </div>
</div> </div>
@ -244,9 +244,9 @@ export default function PostPublish(props: {
</div> </div>
</Show> </Show>
<textarea name="content" value={props.editing?.content ?? ""} <textarea required name="content" value={props.editing?.content ?? ""}
class={`${styles.publishInput} textarea w-full`} class={`${styles.publishInput} textarea w-full`}
placeholder="What's happend?!" /> placeholder="What's happened?! (Support markdown)" />
<div id="publish-actions" class="flex justify-between border-y border-base-200"> <div id="publish-actions" class="flex justify-between border-y border-base-200">
<div class="flex pl-[20px]"> <div class="flex pl-[20px]">