1import {Controller} from "@hotwired/stimulus" 2 3export default class extends Controller { 4 set(event) { 5 event.preventDefault() 6 const id = event.currentTarget.dataset.target 7 const value = event.currentTarget.dataset.value 8 const editor = tinymce.get(id) 9 if (editor) { 10 editor.setContent(value) 11 } else { 12 const field = document.getElementById(id) 13 if (field) field.value = value 14 } 15 } 16};
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.