can-load-file? (augments, and augmentable only) in mode:host-text-mixin

Called just before the editor is loaded from a file. If the return value is #f, the file is not loaded. See also on-load-file and after-load-file.