1import {startStimulusApp} from '@symfony/stimulus-bundle'; 2import 'tabler'; 3 4import Toastify from 'toastify-js'; 5import 'toastify-js/src/toastify.min.css'; 6 7import 'desk/filepond'; 8import 'desk/tom-select'; 9import BlockEditorManager from "desk/manager/block-editor-manager"; 10 11import 'components/file-manager'; 12import 'components/file-manager/file-selector'; 13 14console.log('This log comes from assets/js/desk.js - welcome to AssetMapper! ð'); 15 16window.BlockEditorManager = BlockEditorManager; 17 18export const app = startStimulusApp(); 19 20window.Toastify = Toastify; 21 22function copyToClipboard(content) { 23 navigator.clipboard.writeText(content).then(() => { 24 Toastify({ 25 text: 'Kopiert:\n' + content, 26 duration: 3000, 27 close: true, 28 gravity: 'bottom', 29 position: 'center', 30 stopOnFocus: true, 31 style: { 32 background: 'var(--color-success)', 33 }, 34 }).showToast(); 35 }); 36} 37 38window.copyToClipboard = copyToClipboard;
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.