File tree Expand file tree Collapse file tree
src/lib/components/workspace/Knowledge/KnowledgeBase Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 const dispatch = createEventDispatcher ();
88
99 import Modal from ' $lib/components/common/Modal.svelte' ;
10- import RichTextInput from ' $lib/components/common/RichTextInput.svelte' ;
1110 import XMark from ' $lib/components/icons/XMark.svelte' ;
1211 import MicSolid from ' $lib/components/icons/MicSolid.svelte' ;
1312 import Tooltip from ' $lib/components/common/Tooltip.svelte' ;
5756 <div class =" shrink-0 w-full flex justify-between items-center" >
5857 <div class =" w-full" >
5958 <input
60- class =" w-full text-3xl font-medium bg-transparent outline-hidden"
59+ class =" w-full text-3xl bg-transparent outline-hidden"
6160 type =" text"
6261 bind:value ={name }
6362 placeholder ={$i18n .t (' Title' )}
6766 </div >
6867
6968 <div class =" flex-1 w-full h-full" >
70- <RichTextInput
69+ <textarea
70+ class =" w-full h-full min-h-[200px] bg-transparent outline-none resize-none text-base leading-relaxed placeholder:text-gray-300 dark:placeholder:text-gray-600"
7171 bind:value ={content }
7272 placeholder ={$i18n .t (' Write something...' )}
73- preserveBreaks ={true }
7473 />
7574 </div >
7675 </div >
7776 </div >
7877
7978 <div
80- class =" flex flex-row items-center justify-end text-sm font-medium shrink-0 mt-1 p-4 gap-1.5"
79+ class =" flex flex-row items-center justify-end text-sm shrink-0 mt-1 p-4 gap-1.5"
8180 >
8281 <div class =" " >
8382 {#if voiceInput }
You can’t perform that action at this time.
0 commit comments