We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 686ec6e commit ff1e2d4Copy full SHA for ff1e2d4
resources/js/app/directives/richeditor.js
@@ -84,7 +84,7 @@ export default {
84
} else if (binding?.expression) {
85
try {
86
const exp = JSON.parse(binding.expression);
87
- toolbar = exp.join(' ');
+ toolbar = exp ? exp.join(' ') : toolbar;
88
} catch (e) {
89
// do nothing
90
}
0 commit comments