Standardize Exhibit Leads module: Rich text support and naming alignment

- Integrated TipTap rich text editor for Booth Descriptions and Exhibitor Notes.
- Implemented strip_html utility for clean search/preview of rich text fields.
- Renamed exhibit loading functions to follow load_ae_obj_id__event_exhibit* pattern.
- Hardened property processors with 'undefined' string guards and automatic reload triggers.
- Resolved type mismatches and naming inconsistencies across the Leads module.
- Verified zero-error state via svelte-check.
This commit is contained in:
Scott Idem
2026-02-09 15:30:00 -05:00
parent e7895cee07
commit fe4380f819
15 changed files with 91 additions and 35 deletions

View File

@@ -101,6 +101,8 @@
// import { ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/ae_stores';
// *** Import Aether core components
import AE_Comp_Editor_TipTap from '$lib/elements/AE_Comp_Editor_TipTap.svelte';
// *** Import Aether module variables and functions
// *** Import Aether module components
@@ -364,6 +366,13 @@
rows={textarea_rows}
class="textarea"
></textarea>
{:else if field_type == 'tiptap'}
<div class="w-full min-w-96 text-left">
<AE_Comp_Editor_TipTap
bind:content={new_field_value}
placeholder="Start typing..."
/>
</div>
{:else}
<input bind:value={new_field_value} class="input w-fit" />
{/if}