| 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/wordcount.js (1878B)
My sentence is this.
'); var result = editor.plugins.wordcount.getCount(); equal(result, 4); }); test("Does not count dashes", function() { expect(1); editor.setContent('Something -- ok
'); var result = editor.plugins.wordcount.getCount(); equal(result, 2); }); test("Does not count asterisks, non-word characters", function() { expect(1); editor.setContent('* something\n\u00b7 something else
'); var result = editor.plugins.wordcount.getCount(); equal(result, 3); }); test("Does not count numbers", function() { expect(1); editor.setContent('Something 123 ok
'); var result = editor.plugins.wordcount.getCount(); equal(result, 2); }); test("Does not count htmlentities", function() { expect(1); editor.setContent('It’s my life – – – don\'t you forget.
'); var result = editor.plugins.wordcount.getCount(); equal(result, 6); }); test("Counts hyphenated words as one word", function() { expect(1); editor.setContent('Hello some-word here.
'); var result = editor.plugins.wordcount.getCount(); equal(result, 3); }); test("Counts words between blocks as two words", function() { expect(1); editor.setContent('Hello
world
'); var result = editor.plugins.wordcount.getCount(); equal(result, 2); });