refac: channel input

This commit is contained in:
Timothy Jaeryang Baek
2025-09-12 21:43:05 +04:00
parent b2623c9799
commit 06c1426e14
11 changed files with 567 additions and 637 deletions
@@ -142,7 +142,7 @@
import { PASTED_TEXT_CHARACTER_LIMIT } from '$lib/constants';
import { all, createLowlight } from 'lowlight';
import MentionList from './RichTextInput/MentionList.svelte';
import MentionList from '../channel/MessageInput/MentionList.svelte';
import { getSuggestionRenderer } from './RichTextInput/suggestions.js';
export let oncompositionstart = (e) => {};
@@ -1369,7 +1369,7 @@
};
</script>
{#if showFormattingToolbar}
{#if richText && showFormattingToolbar}
<div bind:this={bubbleMenuElement} id="bubble-menu" class="p-0">
<FormattingButtons {editor} />
</div>