Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-link command does not work with space key in Firefox #1933

Closed
Iankodj opened this issue Jul 14, 2016 · 1 comment
Closed

Auto-link command does not work with space key in Firefox #1933

Iankodj opened this issue Jul 14, 2016 · 1 comment

Comments

@Iankodj
Copy link
Contributor

Iankodj commented Jul 14, 2016

Steps:

  1. http://demos.telerik.com/kendo-ui/editor/index
  2. Delete all text
  3. Type "www.telerik.com"
  4. Press spacebar

Actual: Nothing happens.
Expected: Auto-link to generate "www.telerik.com" to a link.

@Iankodj Iankodj changed the title Space does not Space key does not trigger the auto-link command Jul 14, 2016
@Iankodj Iankodj changed the title Space key does not trigger the auto-link command Auto-link command does not with space key in Firefox Jul 14, 2016
@Iankodj Iankodj changed the title Auto-link command does not with space key in Firefox Auto-link command does not work with space key in Firefox Jul 14, 2016
@nstoychev
Copy link
Contributor

Here is a workaround:
http://dojo.telerik.com/usaFE/2

<textarea id="editor" rows="10" cols="30" style="width:100%;height:400px"></textarea>
<script>
    $("#editor").kendoEditor();
    if (kendo.support.browser.mozilla) {
        var toolsFromShortcut = kendo.ui.editor.Keyboard.fn.toolsFromShortcut;
        kendo.ui.editor.Keyboard.fn.toolsFromShortcut = function (tools, e) {
            if (!e.keyCode && e.charCode) {
                e.keyCode = e.charCode;
            }
            return toolsFromShortcut.call(this, tools, e);
        };
    }
</script>

@jivanova jivanova self-assigned this Mar 28, 2017
@mparvanov mparvanov added this to the 2017.R2 milestone Apr 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants