{% load argonauts %}

{{ textarea }}

<script>
  {# this tells CKEditor where to find its static assets #}
  CKEDITOR_BASEPATH = {{ ckeditor_path|json }};
  {# we need to ensure that the ckeditor library is loaded before we try to use it #}
  require(['lib/ckeditor/ckeditor'], function() {
    CKEDITOR.replace({{ html_id|json }}, {{ config|json }});
  });
</script>
