Skip to content

Commit

Permalink
add negative tabindex so paste manager does not receive focus
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoe committed Aug 10, 2015
1 parent c5d2ede commit 3362eaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/paste-manager.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class PasteManager
constructor: (@quill, options) ->
@container = @quill.addContainer('ql-paste-manager')
@container.setAttribute('contenteditable', true)
@container.setAttribute('tabindex', '-1')
dom(@quill.root).on('paste', _.bind(this._paste, this))
@options = _.defaults(options, PasteManager.DEFAULTS)
@options.onConvert ?= this._onConvert;
Expand Down

0 comments on commit 3362eaa

Please sign in to comment.