Timo Henke

Results 11 comments of Timo Henke

maybe just my 2cent but your return should be an array itself like ``` $data = [ [ 'id' => '0', 'text' => 'Node 0', 'children' => [ [ 'id'...

you may add something like this to break out of the scrollable bs5 modal: document.querySelectorAll('[data-bs-toggle="dropdown"]').forEach( (dropdownToggleEl) => { bootstrap.Dropdown.getOrCreateInstance(dropdownToggleEl, { popperConfig() { return { strategy: 'fixed' } } }); });...

only set checked=true on nodes that do not have children on their own because their checked / half checked / not checked status is inherited by the sum of checked...

you could easily do that using the onChange method of the tree itself: **html:** ```html ``` **js:** ```js: let selectedNodes = []; let tree = new Tree('', { ..., onChange:...

well yes, i should have mentioned that i looked it up, too. But i still think that an example that shows how a "BREAKING CHANGE" should be used should not...

i signed the CLA but i have no idea about any examples to add - it just fixes the detection of the image Filetype from "nothing" to "svg"

If for example you have SVG files laying around and want to add the SVG to the HTML Code using `$svgString = file_get_contents('yourdesired.svg');` or alternatively the data is coming from...

any updates? did i miss something?

to bypass this you have to add a helper variable like ``` $gdfunction = 'imagecreatefrom'.$type; $silenceGdfunction = $type === 'png'; ... // GD library $img = $silenceGdfunction ? @$gdfunction($file) :...

even in the latest 6.6.5 the detection of inline SVG seems broken. Chainging Line 19016 of tcpdf.php from $type = ''; to $type = preg_match('/]*)>/si', $imgsrc) ? 'svg' : ''...