https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11583

--- Comment #13 from David Cook <[email protected]> ---
Actually, at Kohacon2024, maybe what we discussed was just improved preview
options... those would be much more doable.

--

With the WYSIWYG... perhaps we could do a plugin that lets you insert template
syntax into the notice without it getting entity escaped. That might not be a
terrible workaround...

But we'd also need some code to prevent entity escaping at init/load time,
which would be more difficult. (What we could do is pre-process, extract our
notice syntax and replace with a safe magical tokens like a random custom
element like <24t0824ht> or {{24t0824ht}}, init/load TinyMCE, and then replace
those safe tokens with our notice syntax extractions programmatically. It would
be hacky, but it could probably work.)

The WYWISYG would make adding HTML more user-friendly but adding Koha notice
syntax more difficult. 

--

But in any case... this would take a lot of experimenting and even then a
TinyMCE upgrade could break it. 

More thinking to do here...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to