Skip to content

usage with Redactor.js editor

Stephen Gardener edited this page Jul 2, 2014 · 1 revision

When using At.js with Redactor, Redactors initCallback is what you need:

    $('#redactor-item').redactor({

        initCallback: function()
        {
          $(this.$editor).atwho({
              at: "@",
              data: names
          });
        }
    });