0002-fields-fix-RichTextField-display-in-formdef-detail-p.patch
wcs/qommon/templates/qommon/forms/widgets/mini-rich-text.html | ||
---|---|---|
5 | 5 |
>{{widget.value|default:""}}</textarea> |
6 | 6 |
<script type="module"> |
7 | 7 |
import Godo from "/static/xstatic/js/godo.js?{{version_hash}}"; |
8 |
new Godo(document.getElementById('form_{{widget.get_name_for_id}}'), {schema: 'basic'}); |
|
8 |
$(() => { |
|
9 |
new Godo(document.getElementById('form_{{widget.get_name_for_id}}'), {schema: 'basic'}); |
|
10 |
}); |
|
9 | 11 |
</script> |
10 | 12 |
{% endblock %} |
11 |
- |