new_contents: from django.utils.html import format_html
  from wagtail.wagtailcore import hooks
  
  @hooks.register('insert_editor_js')
  def enable_source():
      return format_html(
          """
          <script>
              registerHalloPlugin('hallohtml');
          </script>
          """
      )
subject: add ability to edit html through editor