This repository was archived by the owner on Feb 5, 2025. It is now read-only.
This repository was archived by the owner on Feb 5, 2025. It is now read-only.
enableLinks option has disappeared #108
Open
Description
The enableLinks option has disappeared from version 2.1.0. So the example (using v1.2.0) with link enabled is now invalid. I was able to add it back to the code (around line 971) using:
// Add text
if (this._options.wrapNodeText) {
var wrapper = this._template.text.clone();
node.$el.append(wrapper);
wrapper.append(node.text);
}else if(this._options.enableLinks){
node.$el.append($('<a href="#" style="color:inherit;"></a>')
.attr('href', node.href)
.append(node.text));
} else {
node.$el.append(node.text);
}
Metadata
Metadata
Assignees
Labels
No labels