| Name | Size | Mode | Actions |
|---|---|---|---|
| filemanager/ | - | 0755 | rm |
| image/ | - | 0755 | rm |
| link/ | - | 0755 | rm |
| media/ | - | 0755 | rm |
| autolink.js | 3625 | 0644 | editdlrm |
| autosave.js | 2410 | 0644 | editdlrm |
| charmap.js | 1704 | 0644 | editdlrm |
| fullpage.js | 4589 | 0644 | editdlrm |
| image.js | 14403 | 0644 | editdlrm |
| importcss.js | 9392 | 0644 | editdlrm |
| jquery_initialization.js | 794 | 0644 | editdlrm |
| jquery_plugin.js | 2468 | 0644 | editdlrm |
| legacyoutput.js | 2593 | 0644 | editdlrm |
| link.js | 4206 | 0644 | editdlrm |
| lists.js | 51763 | 0644 | editdlrm |
| media.js | 7136 | 0644 | editdlrm |
| noneditable.js | 1369 | 0644 | editdlrm |
| paste.js | 111338 | 0644 | editdlrm |
| paste_images.js | 4899 | 0644 | editdlrm |
| paste_smart.js | 3351 | 0644 | editdlrm |
| searchreplace.js | 4148 | 0644 | editdlrm |
| spellchecker.js | 2700 | 0644 | editdlrm |
| table.js | 51834 | 0644 | editdlrm |
| textpattern.js | 2659 | 0644 | editdlrm |
| wordcount.js | 1878 | 0644 | editdlrm |
/home/aqcert/public_html/admin/tinymce/tests/plugins/fullpage.js (4589B)
Test
'); equal(normalizeHTML(editor.getContent()), 'Test
', 'Invalid HTML content is still editable.'); editor.setContent('Test
'); equal(normalizeHTML(editor.getContent()), 'Test
', 'Header/footer is intact.'); }); test('Default header/footer', function() { expect(1); editor.setContent('Test
'); equal(editor.getContent(), '\n\n\n\n\nTest
\n\n', 'Invalid HTML content is still editable.'); }); test('Parse body attributes', function() { expect(9); editor.setContent('Test
'); equal(editor.getBody().style.color, '', 'No color on body.'); equal(editor.getBody().dir, '', 'No dir on body.'); equal(editor.dom.getStyle(editor.getBody().firstChild, 'display', true), 'block', 'No styles added to iframe document'); editor.setContent('Test
'); ok(editor.getBody().style.color.length > 0, 'Color added to body'); editor.setContent('Test
'); equal(editor.getBody().dir, 'rtl', 'Dir added to body'); editor.setContent('Test
'); equal(editor.dom.getStyle(editor.getBody().firstChild, 'text-align', true), 'right', 'Styles added to iframe document'); editor.setContent('Test
'); equal(editor.getBody().style.color, '', 'No color on body.'); equal(editor.getBody().dir, '', 'No dir on body.'); equal(editor.dom.getStyle(editor.getBody().firstChild, 'display', true), 'block', 'No styles added to iframe document'); }); test('fullpage_hide_in_source_view: false', function() { editor.settings.fullpage_hide_in_source_view = false; editor.setContent('1
'); equal(editor.getContent({source_view: true}), '\n1
\n'); }); test('fullpage_hide_in_source_view: false', function() { editor.settings.fullpage_hide_in_source_view = true; editor.setContent('1
'); equal(editor.getContent({source_view: true}), '1
'); }); test('link elements', function() { editor.setContent('c
'); equal(editor.getContent(), '\nc
\n'); }); test('add/remove stylesheets', function() { function hasLink(href) { var links = editor.getDoc().getElementsByTagName('link'); for (var i = 0; i < links.length; i++) { if (links[i].href.indexOf('/' + href) != -1) { return true; } } } editor.setContent('c
'); ok(hasLink("a.css")); ok(!hasLink("b.css")); ok(!hasLink("c.css")); editor.setContent('c
'); ok(hasLink("a.css")); ok(hasLink("b.css")); ok(!hasLink("c.css")); editor.setContent('c
'); ok(hasLink("a.css")); ok(hasLink("b.css")); ok(hasLink("c.css")); editor.setContent('c
'); ok(hasLink("a.css")); ok(!hasLink("b.css")); ok(!hasLink("c.css")); editor.setContent('c
'); ok(!hasLink("a.css")); ok(!hasLink("b.css")); ok(!hasLink("c.css")); });