PageSourceSearch

https://bip.piotrkowkujawski.pl/js/lib_extension/tinymce/config.js

js piotrkowkujawski.pl collected 2026-10-02 19:20:19 UTC 3,357 bytes, 78 lines download raw bytes

1var tinymceTypeArr = {file:'files',image:'images',media:'media'}; 
2
3
4/*var tinymceConfig = {
5	language : serwis_lng,
6	theme: "modern",
7	//content_css : "http://localhost/barometr/css/style.css",
8	//body_class: "tinyMceEditor",
9	relative_urls : false,
10	remove_script_host : false,
11	//document_base_url : "http://www.site.com/path1/",
12	file_browser_callback: fileMgrFncKC,
13	file_picker_callback : fileMgrFncElf,
14	plugins: [
15		"advlist autolink lists link image charmap print preview hr anchor pagebreak",
16		"searchreplace wordcount visualblocks visualchars code fullscreen",
17		"insertdatetime media nonbreaking save table contextmenu directionality",
18		"emoticons template paste textcolor"
19	],
20	toolbar1: "undo redo searchreplace fullscreen | print preview | emoticons | link image media",
21	toolbar2: "alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | forecolor backcolor",
22	toolbar3: "styleselect fontselect fontsizeselect | bold italic underline ",
23	fontsize_formats: "8px 9px 10px 11px 12px 13px 14px 16px 18px 20px 24px 26px 28px 36px 48px 72px",
24	image_advtab: true,
25	templates: [
26		{title: 'Test template 1', content: 'Test 1'},
27		{title: 'Test template 2', content: 'Test 2'}
28	],
29	forced_root_block : 'p',
30	//force_p_newlines: false
31};*/
32var tinymceConfig = {
33    license_key: 'gpl',
34    language: serwis_lng,
35    branding: false,
36    promotion: false,
37    sandbox_iframes: false,
38    schema: 'html5',
39    entity_encoding: 'raw',
40    forced_root_block: 'p',
41    relative_urls: false,
42    file_picker_callback: function (cb, value, meta) {
43        $.cookie('elFinderCKEType', tinymceTypeArr[meta.filetype], { expires: 1, path: serwis_root });
44        tinymce.activeEditor.windowManager.openUrl({
45            url: serwis_root + 'js/lib_extension/tinymce/elfinder/elfinder.html',
46            title: 'elFinder',
47            width: 900,
48            height: 500,
49            resizable: 'yes',
50            inline: true,
51            close_previous: "no",
52            popup_css: false,
53            onMessage: function (api, data) {
54                if (data.mceAction === 'customAction') {
55                    cb(data.url, data.objVals);
56                    api.close();
57                }
58            }
59        });
60    },
61    theme: "silver",
62    width: "100%",
63    height: 500,
64    resize: true,
65    plugins: [
66        'preview', 'importcss', 'searchreplace', 'autolink', 'autosave', 'save', 'directionality', 'code', 'visualblocks', 'visualchars', 'fullscreen', 'image',
67        'link', 'media', 'codesample', 'table', 'charmap', 'pagebreak', 'nonbreaking', 'anchor', 'insertdatetime', 'advlist', 'lists', 'wordcount', 'help', 'charmap', 'quickbars', 'emoticons', 'accordion'
68    ],
69    toolbar1: "undo redo searchreplace fullscreen | print preview | emoticons | link image media",
70    toolbar2: "alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | forecolor backcolor",
71    toolbar3: "bold italic underline | blocks fontfamily fontsize",
72    quickbars_insert_toolbar: 'quicktable',
73    font_size_formats: "8px 9px 10px 11px 12px 13px 14px 16px 18px 20px 24px 26px 28px 36px 48px 72px",
74    font_size_input_default_unit: "px",
75    spellchecker_dialog: true,
76    spellchecker_ignore_list: ['Ephox', 'Moxiecode'],
77    content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:12px }'
78};

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.