Initial commit
This commit is contained in:
4
app/assets/javascripts/trix.js
Normal file
4
app/assets/javascripts/trix.js
Normal file
@@ -0,0 +1,4 @@
|
||||
// Do not allow file attachments in rich text content
|
||||
addEventListener("trix-file-accept", function(event) {
|
||||
event.preventDefault();
|
||||
})
|
||||
Reference in New Issue
Block a user