chniter/bstreeview

Possibility to add attributes

seyfcom opened this issue · 0 comments

First of all, thanks for the work!

I needed to expand possibilities and neede attributes, like data-something="....." data-somethingelse="...." but I can't easily do it.

My propositon is to filter, any that is not specific to your option on a node, you put it as data-KEY_OF_LINE="CONTENT OF LINE"

You might filter a little to avoid strange things, but I thing it should work. If you want to make it more strict, give a list of data-attributes, like attribute1, attribute2, and so on, just need to be attribute+integer.

Would be great ! thanks