").text(field.name).appendTo($fg);
+
+ // if multiple?
+ $("
").appendTo($fg);
+
+ let match = field.uri.match(/({(.*)})?(.*)/);
+ ns = match[2];
+ tag = match[3];
+ let cont = $('
');
+ $fg.data('ns', ns);
+ $fg.data('tag', tag);
+ $fg.data('field', field);
+ cont.appendTo($fg);
+
+ self.displayMetaProperty($fg);
+
+ $fg.appendTo( $("#properties-form", self.$pane));
+ });
+ }
// check node type, find relevant tags
if ($node[0].nodeName == 'DIV') {
@@ -178,6 +245,87 @@
}
};
+ PropertiesPerspective.prototype.addMetaInput = function(cont, field, element) {
+ let self = this;
+
+ let ig = $('