mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-27 02:24:40 +00:00
Innerwiki: Add support for draggable anchors
This commit is contained in:
@@ -15,6 +15,7 @@ Widget to represent a single item of data
|
||||
var Widget = require("$:/core/modules/widgets/widget.js").widget;
|
||||
|
||||
var DataWidget = function(parseTreeNode,options) {
|
||||
this.dataWidgetTag = parseTreeNode.type;
|
||||
this.initialise(parseTreeNode,options);
|
||||
};
|
||||
|
||||
@@ -52,5 +53,6 @@ DataWidget.prototype.refresh = function(changedTiddlers) {
|
||||
};
|
||||
|
||||
exports.data = DataWidget;
|
||||
exports.anchor = DataWidget;
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user