Hallo,
I want to use the inserting buttons in a Tree. I oriented my implementation on this example in the showcase: <INTERNAL_LINK>
At the moment I have
<Tree
tplTreeNode={(n, chained) => {
return {
...chained,
...n
};
}}
root={this.rootNode}
onToggleSelection={this.toggleSelection}
onInsert={this.onInsertStart}
buttonTitles={{
top: "Insert top",
bottom: "Insert below",
asChild: "Insert as child"
}}
/>
with
Tree = Selectable(Collapsible(Insertable(TreeAdapter(MinimalTree))));
But the buttons aren’t shown in the tree. What did I miss?
Another question would be, if I can set this buttons manually disabeled. If it is possible, how can I do it?
Best regards,
Nora