refactor: migrate IDAA Archive, BB, and Recovery Meetings to AE_Comp_Editor_TipTap
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
} from '$lib/stores/ae_stores';
|
||||
import { idaa_loc, idaa_sess, idaa_slct, idaa_trig } from '$lib/stores/ae_idaa_stores';
|
||||
import { events_func } from '$lib/ae_events_functions';
|
||||
import CodeMirror_wrapper from '$lib/elements/element_codemirror_editor_wrapper.svelte';
|
||||
import AE_Comp_Editor_TipTap from '$lib/elements/AE_Comp_Editor_TipTap.svelte';
|
||||
|
||||
// export let container_class_li = [];
|
||||
|
||||
@@ -945,9 +945,9 @@
|
||||
<span class="text-lg text-neutral-500 font-semibold"> Short description </span>
|
||||
<!-- <textarea name="description" id="description" class="ae_value event__description tinymce_editor editor_basic textarea" rows="5" cols="70" bind:value={$idaa_slct.event_obj.description} ></textarea> -->
|
||||
|
||||
<CodeMirror_wrapper
|
||||
bind:html_text={description_new_html}
|
||||
classes="preset-tonal-surface hover:preset-filled-surface-100-900 font-mono font-normal"
|
||||
<AE_Comp_Editor_TipTap
|
||||
bind:content={description_new_html}
|
||||
class_li="preset-tonal-surface hover:preset-filled-surface-100-900 font-mono font-normal"
|
||||
placeholder="A short description or overview of this recovery meeting"
|
||||
/>
|
||||
|
||||
@@ -1327,9 +1327,9 @@
|
||||
Additional information about the meeting location
|
||||
</span>
|
||||
<!-- <textarea class="ae_value event__location_text tinymce_editor editor_less_100 textarea" id="location_text" name="location_text" placeholder="Additional information about the meeting location" rows="2" cols="70" bind:value={$idaa_slct.event_obj.location_text}></textarea> -->
|
||||
<CodeMirror_wrapper
|
||||
bind:html_text={location_text_new_html}
|
||||
classes="preset-tonal-surface hover:preset-filled-surface-100-900"
|
||||
<AE_Comp_Editor_TipTap
|
||||
bind:content={location_text_new_html}
|
||||
class_li="preset-tonal-surface hover:preset-filled-surface-100-900"
|
||||
placeholder="Additional information about the meeting location"
|
||||
/>
|
||||
|
||||
@@ -1801,9 +1801,9 @@
|
||||
Additional information on how to attend
|
||||
</span>
|
||||
<!-- <textarea class="ae_value event__attend_text tinymce_editor editor_less_100 textarea" id="attend_text" name="attend_text" placeholder="Additional information on how to attend or join the meeting" rows="2" cols="70" value={$lq__event_obj?.attend_text ?? ''}></textarea> -->
|
||||
<CodeMirror_wrapper
|
||||
bind:html_text={attend_text_new_html}
|
||||
classes="preset-tonal-surface hover:preset-filled-surface-100-900"
|
||||
<AE_Comp_Editor_TipTap
|
||||
bind:content={attend_text_new_html}
|
||||
class_li="preset-tonal-surface hover:preset-filled-surface-100-900"
|
||||
placeholder="Additional information on how to attend or join the meeting"
|
||||
/>
|
||||
|
||||
@@ -2046,9 +2046,9 @@
|
||||
Additional information on when and how often
|
||||
</span>
|
||||
<!-- <textarea class="ae_value event__recurring_text tinymce_editor editor_less_100 textarea" id="recurring_text" name="recurring_text" placeholder="Additional information on when and how often" value={$lq__event_obj?.recurring_text ?? ''}></textarea> -->
|
||||
<CodeMirror_wrapper
|
||||
html_text={$idaa_slct.event_obj?.recurring_text}
|
||||
classes="preset-tonal-surface hover:preset-filled-surface-100-900"
|
||||
<AE_Comp_Editor_TipTap
|
||||
bind:content={recurring_text_new_html}
|
||||
class_li="preset-tonal-surface hover:preset-filled-surface-100-900"
|
||||
placeholder="Additional information on when and how often"
|
||||
/>
|
||||
|
||||
@@ -2627,9 +2627,9 @@
|
||||
{#if $ae_loc.trusted_access}
|
||||
<label for="notes" class="w-full">
|
||||
Internal Staff Notes
|
||||
<CodeMirror_wrapper
|
||||
html_text={$idaa_slct.event_obj?.notes}
|
||||
classes="preset-tonal-surface hover:preset-filled-surface-100-900"
|
||||
<AE_Comp_Editor_TipTap
|
||||
bind:content={notes_new_html}
|
||||
class_li="preset-tonal-surface hover:preset-filled-surface-100-900"
|
||||
placeholder="Internal notes for staff only. Not shown to the public."
|
||||
/>
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user