PageSourceSearch

https://floss-pa.org/assets/controllers/reset_form_controller-99e571cd.js

js floss-pa.org collected 2026-09-28 10:40:37 UTC 331 bytes, 13 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3export default class extends Controller {
4  reset() {
5    this.element.reset()
6    // Trix needs a little extra help to clear its internal state
7    const trixEditor = this.element.querySelector("trix-editor")
8    if (trixEditor) {
9      trixEditor.editor.loadHTML("")
10    }
11  }
12}
13

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.