Changeset 2228 for FCKeditor/branches

Show
Ignore:
Timestamp:
2008-07-17 11:08:19 (5 months ago)
Author:
martinkou
Message:

Removed margins between paragraphs in the Flash samples.
Removed HTML formatting in the Flash sample.
Removed style menu from the Flash sample.
Removed Strong Emphasis and Emphasis styles from the legacy HTML sample.
Changed all instances of "Flash object" to "Flash" in the Flash sample.
Changed the layout of the Flash sample.

Location:
FCKeditor/branches/features/new_samples/_samples/html
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/branches/features/new_samples/_samples/html/sample15.config.js

    r2047 r2228  
    8080FCKConfig.CustomStyles = 
    8181        { 
    82                 'Strong Emphasis' : { Element : 'b' }, 
    83                 'Emphasis' : { Element : 'i' }, 
    84  
    8582                'Computer Code' : { Element : 'code' }, 
    8683                'Keyboard Phrase' : { Element : 'kbd' }, 
  • FCKeditor/branches/features/new_samples/_samples/html/sample16.config.js

    r2047 r2228  
    7575FCKConfig.CustomStyles = 
    7676        { 
    77                 'Strong Emphasis' : { Element : 'b' }, 
    78                 'Emphasis' : { Element : 'i' } 
    7977        } ; 
    8078 
     
    8482FCKConfig.ToolbarSets['Flash'] = [ 
    8583        ['Source','-','Bold','Italic','Underline','-','UnorderedList','-','Link','Unlink'], 
    86         ['Style','FontName','FontSize','-','About'] 
     84        ['FontName','FontSize','-','About'] 
    8785] ; 
    8886 
    89  
     87/** 
     88 * Flash specific formatting settings. 
     89 */ 
     90FCKConfig.EditorAreaStyles = 'p {margin: 0px;}' ; 
     91FCKConfig.FormatSource = false ; 
     92FCKConfig.FormatOutput = false ; 
  • FCKeditor/branches/features/new_samples/_samples/html/sample16.html

    r2047 r2228  
    4545        <div> 
    4646                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>. 
    4848        </div> 
    4949        <hr /> 
    5050        <form target="_blank"> 
     51                <div style="float: left;"> 
    5152                <script type="text/javascript"> 
    5253<!-- 
     
    6263// original configuration file untouched. 
    6364oFCKeditor.Config['CustomConfigurationsPath'] = sBasePath + '_samples/html/sample16.config.js' ; 
    64 oFCKeditor.Height = 300 ; 
     65oFCKeditor.Height = 400 ; 
     66oFCKeditor.Width = 500 ; 
    6567oFCKeditor.ToolbarSet = 'Flash' ; 
    6668oFCKeditor.Value = '<p>This is some <b>sample text<\/b>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ; 
     
    6870//--> 
    6971                </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;" /> 
    7077                <br /> 
    71                 <input type="button" value="Send HTML code to Flash object" onclick="sendToFlash();" /> 
    7278        </form> 
    73         <hr /> 
    74         <p>Below is a Flash object with an HTML text control:</p> 
    75         <div id="fckFlashContainer" /> 
    7679        <script type="text/javascript"> 
    7780                var so = new SWFObject("sample16.swf", "fckFlash", "550", "400", "8", "#ffffff");