Problem with Redactor editor's newest version

I’ve been using Imperavi’s Redactor HTML editor in an Ember application for months now. The integration worked fine until Imperavi released version 9.2.3 some weeks ago (May 2014).

The problem with the new version is that hitting the Enter key triggers some weird behavior and opens Redactor dialogs. Here’s a working example of what happens:

Just write something and press Enter. It triggers the “open link” dialog.

This is how I integrated the editor in my Ember application:

App.RedactorEditorView = Em.View.extend({
    tagName: 'textarea',

    didInsertElement: function() {
        var $textarea = $(this.get('element'));

Unfortunately Imperavi couldn’t help me though I’m pretty sure it’s something in their recently released code.

Is there somebody else who uses Redactor in their projects and has the same solution? Like I wrote, the code worked fine with older versions of Redactor.


I found a workaround, setting the shortcuts option to false solves the problem:

var $textarea = $(this.get('element'));
    shortcuts: false
1 Like