Changeset 2228 for FCKeditor/branches
- Timestamp:
- 2008-07-17 11:08:19 (5 months ago)
- Location:
- FCKeditor/branches/features/new_samples/_samples/html
- Files:
-
- 3 modified
-
sample15.config.js (modified) (1 diff)
-
sample16.config.js (modified) (2 diffs)
-
sample16.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/branches/features/new_samples/_samples/html/sample15.config.js
r2047 r2228 80 80 FCKConfig.CustomStyles = 81 81 { 82 'Strong Emphasis' : { Element : 'b' },83 'Emphasis' : { Element : 'i' },84 85 82 'Computer Code' : { Element : 'code' }, 86 83 'Keyboard Phrase' : { Element : 'kbd' }, -
FCKeditor/branches/features/new_samples/_samples/html/sample16.config.js
r2047 r2228 75 75 FCKConfig.CustomStyles = 76 76 { 77 'Strong Emphasis' : { Element : 'b' },78 'Emphasis' : { Element : 'i' }79 77 } ; 80 78 … … 84 82 FCKConfig.ToolbarSets['Flash'] = [ 85 83 ['Source','-','Bold','Italic','Underline','-','UnorderedList','-','Link','Unlink'], 86 [' Style','FontName','FontSize','-','About']84 ['FontName','FontSize','-','About'] 87 85 ] ; 88 86 89 87 /** 88 * Flash specific formatting settings. 89 */ 90 FCKConfig.EditorAreaStyles = 'p {margin: 0px;}' ; 91 FCKConfig.FormatSource = false ; 92 FCKConfig.FormatOutput = false ; -
FCKeditor/branches/features/new_samples/_samples/html/sample16.html
r2047 r2228 45 45 <div> 46 46 This sample shows FCKeditor configured to produce HTML code that can be used with 47 <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14808#TextArea_Component">Flash objects</a>.47 <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14808#TextArea_Component">Flash</a>. 48 48 </div> 49 49 <hr /> 50 50 <form target="_blank"> 51 <div style="float: left;"> 51 52 <script type="text/javascript"> 52 53 <!-- … … 62 63 // original configuration file untouched. 63 64 oFCKeditor.Config['CustomConfigurationsPath'] = sBasePath + '_samples/html/sample16.config.js' ; 64 oFCKeditor.Height = 300 ; 65 oFCKeditor.Height = 400 ; 66 oFCKeditor.Width = 500 ; 65 67 oFCKeditor.ToolbarSet = 'Flash' ; 66 68 oFCKeditor.Value = '<p>This is some <b>sample text<\/b>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ; … … 68 70 //--> 69 71 </script> 72 </div> 73 <div style="float:left; padding: 5px;"> 74 <input type="button" style="position: relative; top: 190px;" value="->" onclick="sendToFlash();" /> 75 </div> 76 <div id="fckFlashContainer" style="float: left;" /> 70 77 <br /> 71 <input type="button" value="Send HTML code to Flash object" onclick="sendToFlash();" />72 78 </form> 73 <hr />74 <p>Below is a Flash object with an HTML text control:</p>75 <div id="fckFlashContainer" />76 79 <script type="text/javascript"> 77 80 var so = new SWFObject("sample16.swf", "fckFlash", "550", "400", "8", "#ffffff");