Produced by Araxis Merge on 2/1/2017 2:57:56 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\Araxis_Merge_Comprasion\Pub_un\BTSSS_CIF_122016.zip\BTSSS_CIF_12_20_16\clean\CRM Portal\trunk\BTSSSPortal\js\ckeditor\samples\js | sample.js | Tue Dec 20 19:50:50 2016 UTC |
| 2 | Wed Feb 1 19:57:56 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 1 | 53 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | /** | |||||
| 2 | * Copyrig ht (c) 200 3-2015, CK Source - F rederico K nabben. Al l rights r eserved. | |||||
| 3 | * This so ftware is covered by CKEditor Commercial License. Usage with out proper license i s prohibit ed. | |||||
| 4 | */ | |||||
| 5 | ||||||
| 6 | /* exporte d initSamp le */ | |||||
| 7 | ||||||
| 8 | if ( CKEDI TOR.env.ie && CKEDIT OR.env.ver sion < 9 ) | |||||
| 9 | CK EDITOR.too ls.enableH tml5Elemen ts( docume nt ); | |||||
| 10 | ||||||
| 11 | // The tri ck to keep the edito r in the s ample quit e small | |||||
| 12 | // unless user speci fied own h eight. | |||||
| 13 | CKEDITOR.c onfig.heig ht = 150; | |||||
| 14 | CKEDITOR.c onfig.widt h = 'auto' ; | |||||
| 15 | ||||||
| 16 | var initSa mple = ( f unction() { | |||||
| 17 | va r wysiwyga reaAvailab le = isWys iwygareaAv ailable(), | |||||
| 18 | isBB CodeBuiltI n = !!CKED ITOR.plugi ns.get( 'b bcode' ); | |||||
| 19 | ||||||
| 20 | re turn funct ion() { | |||||
| 21 | var editorElem ent = CKED ITOR.docum ent.getByI d( 'editor ' ); | |||||
| 22 | ||||||
| 23 | // : ((( | |||||
| 24 | if ( isBBCodeB uiltIn ) { | |||||
| 25 | editor Element.se tHtml( | |||||
| 26 | 'Hello w orld!\n\n' + | |||||
| 27 | 'I\'m an instance of [url=ht tp://ckedi tor.com]CK Editor[/ur l].' | |||||
| 28 | ); | |||||
| 29 | } | |||||
| 30 | ||||||
| 31 | // D epending o n the wysi wygare plu gin availa bility ini tialize cl assic or i nline edit or. | |||||
| 32 | if ( wysiwygar eaAvailabl e ) { | |||||
| 33 | CKEDIT OR.replace ( 'editor' ); | |||||
| 34 | } el se { | |||||
| 35 | editor Element.se tAttribute ( 'content editable', 'true' ); | |||||
| 36 | CKEDIT OR.inline( 'editor' ); | |||||
| 37 | ||||||
| 38 | // TOD O we can c onsider di splaying s ome info b ox that | |||||
| 39 | // wit hout wysiw ygarea the classic e ditor may not work. | |||||
| 40 | } | |||||
| 41 | }; | |||||
| 42 | ||||||
| 43 | fu nction isW ysiwygarea Available( ) { | |||||
| 44 | // I f in devel opment mod e, then th e wysiwyga rea must b e availabl e. | |||||
| 45 | // S plit REV i nto two st rings so b uilder doe s not repl ace it :D. | |||||
| 46 | if ( CKEDITOR. revision = = ( '%RE' + 'V%' ) ) { | |||||
| 47 | return true; | |||||
| 48 | } | |||||
| 49 | ||||||
| 50 | retu rn !!CKEDI TOR.plugin s.get( 'wy siwygarea' ); | |||||
| 51 | } | |||||
| 52 | } )(); | |||||
| 53 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.