{% comment %}
Rich-text field with formatting tools and a searchable Template command, also available
as /template. Templates are filtered by user access, without content-type restrictions.
Selection inserts an editable copy at the cursor or replaces selected text.
The bubbling, cancellable bloomerp:template-selected event carries detail.template
(id, name, body) and detail.insert(body). Specialized editors can preventDefault(),
prepare their variable context, then call insert to preserve the original selection.
{% endcomment %}