implemented creating new poll and managing poll options

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-02-23 23:46:52 +01:00
parent e5ab655787
commit cbc6ce188d
7 changed files with 182 additions and 24 deletions

View File

@@ -110,7 +110,7 @@
</style>
{#if editable && editing}
<input bind:value={editValue} onkeyup={typed} autofocus />
<input bind:value={editValue} onkeyup={typed} {title} autofocus />
{:else}
<svelte:element this={type} href={href} onclick={ignore} {onmousedown} {onmouseup} {ontouchstart} {ontouchend} {oncontextmenu} class={{editable}} {title} >{value}</svelte:element>
{/if}

View File

@@ -129,8 +129,8 @@
}
</style>
<div class="markdown {editing?'editing':''}">
{#if editing}
<div class="markdown {editing || simple ?'editing':''}">
{#if editing || simple}
<span class="hint">{@html t('markdown_supported')}</span>
{#if stored_source}
<span id="restore_markdown" onclick={restore} class="hint">{t('unsaved_content')}</span>