X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_samples%2Foutput_for_flash.html;h=0001fe62b5dd7c62dc67d0acd6c1568a61b73730;hp=67d166866a6f8a8f4f4f178bef1e88cffb2597c6;hb=48b1db88210b4160dce439c6e3e32e14af8c106b;hpb=9afde8772159bd3436f1f5b7862960307710ae5a diff --git a/_samples/output_for_flash.html b/_samples/output_for_flash.html index 67d1668..0001fe6 100644 --- a/_samples/output_for_flash.html +++ b/_samples/output_for_flash.html @@ -1,11 +1,11 @@ - Output for Flash + Output for Flash — CKEditor Sample @@ -28,9 +28,32 @@ function init() -

- CKEditor Sample +

+ CKEditor Sample — Producing Flash Compliant HTML Output

+
+

+ This sample shows how to configure CKEditor to output + HTML code that can be used with + + Adobe Flash. + The code will contain a subset of standard HTML elements like <b>, + <i>, and <p> as well as HTML attributes. +

+

+ To add a CKEditor instance outputting Flash compliant HTML code, load the editor using a standard + JavaScript call, and define CKEditor features to use HTML elements and attributes. +

+

+ For details on how to create this setup check the source code of this sample page. +

+
+

+ To see how it works, create some content in the editing area of CKEditor on the left + and send it to the Flash object on the right side of the page by using the + Send to Flash button. +

+
- -
- This sample shows CKEditor configured to produce HTML code that can be used with - - Flash. -

@@ -224,7 +241,7 @@ function configureFlashOutput( ev ) } } - if ( element.attributes.style == '' ) + if ( element.attributes.style === '' ) delete element.attributes.style; return element; @@ -246,10 +263,10 @@ function configureFlashOutput( ev )