mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-28 11:00:27 +00:00
Stop using custom elements to mark widgets
This commit is contained in:
parent
a4d16488f0
commit
bede162896
@ -77,7 +77,7 @@ WidgetRenderer.prototype.render = function(type) {
|
||||
|
||||
WidgetRenderer.prototype.renderInDom = function() {
|
||||
// Create the wrapper element
|
||||
this.domNode = document.createElement("widget");
|
||||
this.domNode = document.createElement("div");
|
||||
this.domNode.setAttribute("data-widget-type",this.parseTreeNode.tag);
|
||||
this.domNode.setAttribute("data-widget-attr",JSON.stringify(this.attributes));
|
||||
// Render the widget if we've got one
|
||||
|
Loading…
Reference in New Issue
Block a user