Skip to content

Commit 88d4c07

Browse files
authored
Merge pull request #211 from yajra/editor-scripts
feat: add script support when using editor
2 parents 4b49e86 + 56b2c27 commit 88d4c07

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/resources/views/editor.blade.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@
99
@endforeach
1010
@endforeach
1111
window.{{ config('datatables-html.namespace', 'LaravelDataTables') }}["%1$s"] = $("#%1$s").DataTable(%2$s);
12-
});
12+
});
13+
@foreach ($scripts as $script)
14+
@include($script)
15+
@endforeach

0 commit comments

Comments
 (0)