riktar / jkanban

Vanilla Javascript plugin for manage kanban boards
https://www.riccardotartaglia.it/jkanban/
Apache License 2.0
1.07k stars 297 forks source link

Multi classes for board titles #89

Closed dr-jonathan-jeffery closed 3 years ago

dr-jonathan-jeffery commented 4 years ago

In the documentation it says that a board header can have multiple classes added:

   {
        "id"    : "board-id-1",               // id of the board
        "title" : "Board Title",              // title of the board
        "class" : "class1,class2,...",        // css classes to add at the title

However, it you do include multiple classes in a comma-separated string, the are rendered a single long class with commas in the name, rather than a space-separated series of individual classes:

<header class="kanban-board-header Class1,Class2,Class3"><div class="kanban-title-board">Backlog</div>

marcosrocha85 commented 3 years ago

I tested this one and couldn't reproduce the issue. Can you provide an example?

riktar commented 3 years ago

I couldn't reproduce the issue, closed.