class CKEditor5::Rails::Engine
def find_preset!(preset)
def find_preset!(preset) found_preset = find_preset(preset) return found_preset if found_preset.present? raise PresetNotFoundError, "Preset '#{preset}' not found. Please define it in the initializer." end