Skip to content

Commit

Permalink
fix bug where link setting does not work in advanced demo
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed May 7, 2014
1 parent 52a7309 commit 6cb4ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/link-tooltip.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class LinkTooltip extends Tooltip

saveLink: ->
url = this._normalizeURL(@textbox.value)
@quill.formatText(@range, 'link', url) if @range?
@quill.formatText(@range, 'link', url, 'user') if @range?
this.setMode(url, false)

setMode: (url, edit = false) ->
Expand Down

0 comments on commit 6cb4ae9

Please sign in to comment.