5 lines
138 B
JavaScript
5 lines
138 B
JavaScript
|
|
// Do not allow file attachments in rich text content
|
||
|
|
addEventListener("trix-file-accept", function(event) {
|
||
|
|
event.preventDefault();
|
||
|
|
})
|