Lots of work related to the IDAA Recovery Meetings. Better pulling in off lookup list data.
This commit is contained in:
@@ -19,6 +19,7 @@ import "./element_tiptap_editor.scss";
|
||||
export let html_text: string = '';
|
||||
export let default_minimal: boolean = false;
|
||||
export let show_menu: boolean = true;
|
||||
export let placeholder: string = 'Type your text here...';
|
||||
|
||||
if (default_minimal) {
|
||||
show_menu = false;
|
||||
@@ -415,7 +416,13 @@ function getContent() {
|
||||
<div
|
||||
bind:this={element}
|
||||
class="tiptap bg-slate-100 px-1 py-2"
|
||||
/>
|
||||
>
|
||||
<span
|
||||
class="placeholder text-sm text-gray-400 italic"
|
||||
contenteditable="false"
|
||||
hidden={editor?.getHTML() !== '<p></p>'}
|
||||
>{placeholder}</span>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user