Skip to content
Snippets Groups Projects
Commit fc6420d6 authored by Jared Hancock's avatar Jared Hancock
Browse files

redactor: Fix spurious `}` appearing from variable typeahead

parent 4f742f90
No related branches found
No related tags found
No related merge requests found
......@@ -1804,6 +1804,8 @@ RedactorPlugins.contexttypeahead = function() {
},
select: function(item, event) {
// Collapse multiple textNodes together
(this.selection.getBlock() || this.$editor.get(0)).normalize();
var current = this.selection.getCurrent(),
sel = this.selection.get(),
range = this.sel.getRangeAt(0),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment