Changeset 2235
- Timestamp:
- 2008-07-21 11:11:58 (5 months ago)
- Location:
- FCKeditor/branches/features/new_samples/_samples/html
- Files:
-
- 2 modified
-
sample16.config.js (modified) (3 diffs)
-
sample16.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/branches/features/new_samples/_samples/html/sample16.config.js
r2228 r2235 44 44 { 45 45 Element : 'font', 46 Attributes : { 'face' : '#("Font")' } ,46 Attributes : { 'face' : '#("Font")' } 47 47 } ; 48 48 … … 67 67 { 68 68 Element : 'font', 69 Attributes : { 'color' : '#("Color")' } ,69 Attributes : { 'color' : '#("Color")' } 70 70 } ; 71 71 /** … … 88 88 * Flash specific formatting settings. 89 89 */ 90 FCKConfig.EditorAreaStyles = 'p {margin: 0px;}' ;90 FCKConfig.EditorAreaStyles = 'p, ol, ul {margin: 0px;}' ; 91 91 FCKConfig.FormatSource = false ; 92 92 FCKConfig.FormatOutput = false ; -
FCKeditor/branches/features/new_samples/_samples/html/sample16.html
r2228 r2235 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 2 <!-- 3 3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net … … 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</a>. 47 <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14808#TextArea_Component"> 48 Flash</a>. 48 49 </div> 49 50 <hr /> 50 <form target="_blank"> 51 <div style="float: left;"> 52 <script type="text/javascript"> 51 <form target="_blank" action=""> 52 <table width="100%" cellpadding="0" cellspacing="0"> 53 <tr> 54 <td style="width: 100%"> 55 <script type="text/javascript"> 53 56 <!-- 54 57 // Automatically calculates the editor base path based on the _samples directory. … … 64 67 oFCKeditor.Config['CustomConfigurationsPath'] = sBasePath + '_samples/html/sample16.config.js' ; 65 68 oFCKeditor.Height = 400 ; 66 oFCKeditor.Width = 500;69 oFCKeditor.Width = '100%' ; 67 70 oFCKeditor.ToolbarSet = 'Flash' ; 68 71 oFCKeditor.Value = '<p>This is some <b>sample text<\/b>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ; 69 72 oFCKeditor.Create() ; 70 73 //--> 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;" />77 < br />74 </script> 75 <input type="button" value="Send to Flash" onclick="sendToFlash();" /> 76 </td> 77 <td id="fckFlashContainer" valign="top" style="padding-left: 15px"> 78 </td> 79 </tr> 80 </table> 78 81 </form> 79 82 <script type="text/javascript">