Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions core/modules/widgets/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ LinkWidget.prototype.renderLink = function(parent,nextSibling) {
dragTiddlerFn: function() {return self.to;},
widget: this
});
} else {
Copy link
Member

@pmario pmario Aug 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In TW we use tabs for indentation. So you need to convert the spaces.
There also needs to be an else if(this.draggable === "no") otherwise any draggable parameter will add draggable=false

So draggable="noABC" will also deactivate dragging

//set the resulting <a> tag draggable attribute to false
//to improve browser's compliance with user's intent
domNode.setAttribute("draggable","false");
}
// Assign data- attributes
this.assignAttributes(domNode,{
Expand Down