#2441: V3 : Samples
----------------------+-----------------------------------------------------
Reporter: fredck | Owner: fredck
Type: Bug | Status: assigned
Priority: Normal | Milestone: CKEditor 3.0
Component: General | Version:
Resolution: | Keywords: Confirmed V3ProtoStruct Review?
----------------------+-----------------------------------------------------
Changes (by fredck):
* keywords: Confirmed => Confirmed V3ProtoStruct Review?
* owner: => fredck
* status: new => assigned
Comment:
The CKEditor prototype contains the _samples folder, which should hold all
our samples. There are several differences from the samples available with
FCKeditor:
* We don't have the "html" folder for the JavaScript samples. Those go
directly in that folder. Server side samples should go inside folders
instead.
* Sample files now have meaningful names, like "replacebyclass.html",
instead of "sample01.html".
* Each sample contains the part of the code that is relevant to that
sample. It should make it easy to users to understand how to recreate the
sample by themselves.
* An alert is displayed if JavaScript is disabled or a non compatible
browser is in use.
* The dev version uses a kind of "template system" for the samples,
giving them a uniform output.
Regarding the "template system" in the dev version, all samples run
through the "sample.html" file. This file takes the HTML defined in the
sample files and fill placeholders with it.
When "building" the code for distribution, we will be transforming the
samples, removing the template file and make each sample independent
(basically writing the filled template in the files).
--
Ticket URL: <http://dev.fckeditor.net/ticket/2441#comment:1>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac