1(function (pageBuilder) { 2 var richTextEditor = pageBuilder.richTextEditor = pageBuilder.richTextEditor || {}; 3 var configurations = richTextEditor.configurations = richTextEditor.configurations || {}; 4 // Overrides the "default" configuration of the Rich text widget, assuming you have not specified a different configuration 5 // The below configuration adds the h5 and h6 values to the paragraphFormat and removes the code value. Also sets the toolbar to be visible without selecting any text. 6 configurations["default"] = { 7 toolbarVisibleWithoutSelection: true, 8 paragraphFormat: { 9 N: "Normal", 10 H1: "Headline 1", 11 H2: "Headline 2", 12 H3: "Headline 3", 13 H4: "Headline 4", 14 H5: "Headline 5", 15 H6: "Headline 6", 16 }, 17 fontFamily: { 18 'Arial,Helvetica,sans-serif': 'Arial', 19 'Georgia,serif': 'Georgia', 20 'Impact,Charcoal,sans-serif': 'Impact', 21 'Tahoma,Geneva,sans-serif': 'Tahoma', 22 'Times New Roman,Times,serif': 'Times New Roman', 23 'Verdana,Geneva,sans-serif': 'Verdana', 24 'Roboto,Arial,Helvetica Neue,Helvetica,sans-serif': 'Roboto' 25 } 26 }; 27 28 // Defines a new configuration for a simple toolbar with only formatting 29 // options and disables the inline design of the toolbar 30 configurations["simple"] = { 31 toolbarButtons: ['paragraphFormat', '|', 'bold', 'italic', 'underline', '|', 'align', 'formatOL', 'formatUL'], 32 paragraphFormatSelection: true, 33 toolbarInline: false 34 }; 35})(window.kentico.pageBuilder); 36 37console.log(window.kentico.pageBuilder);
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.