Closed SKPFCW closed 1 week ago
It seems that the a_attr- and li_attr-objects in the types-plugin-configuration are not merged into the node-objects:
$("#test").jstree({ core: { data: [ { "id":"fldr0000", "text":"Folder 1", "parent":"#","type": "folder" }, { "id":"doc0000", "text":"Document 1", "parent":"fldr0000", "type":"doc" } ] }, plugins: ["types"], types: { folder: { a_attr: { title: "Its a Folder" }, li_attr: { class:"folderClass" }, icon: false }, doc: { a_attr: { title: "Its a Document" }, li_attr: { class: "docClass" }, icon: false } } });
Result: Neither title- nor class-attributes where rendered into the li-/a-tags:
jsFiddle: https://jsfiddle.net/a7jyx94w/4/
Seems to work fine with 3.3.16 (the latest version from a few months ago)
It seems that the a_attr- and li_attr-objects in the types-plugin-configuration are not merged into the node-objects:
Result: Neither title- nor class-attributes where rendered into the li-/a-tags:
jsFiddle: https://jsfiddle.net/a7jyx94w/4/