Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
Merge branch 'development' into STUDIO-21-ToC-button-alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
acheetham committed Dec 12, 2011
2 parents 23970cd + 7d6ed41 commit 978e0ca
Show file tree
Hide file tree
Showing 517 changed files with 13,803 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.txt
@@ -1,4 +1,10 @@
Fluid Studios is a place to incubate new ideas, projects, and collaborations dedicated to improving the usability and accessibility of the open web. This site is an open gallery for contributors to work collaboratively, document their progress, and showcase their projects.

The site is based on Wordpress Version 3.2.1 downloaded from wordpress.org
with the ck editor plugin Version 3.6.2.3 downloaded from http://wordpress.org/extend/plugins/ckeditor-for-wordpress/
with the CKEditor plugin Version 3.6.2.3 downloaded from http://wordpress.org/extend/plugins/ckeditor-for-wordpress/

To activate the CKEditor plugin after the installation of Fluid Studios,
1. Login as admin
2. Go to Dashboard -> Plugins. This page lists all the available plugins
3. Click on "Activate" link of the "CKEditor for WordPress"
4. Enjoy!
Binary file not shown.
41 changes: 41 additions & 0 deletions wp-content/plugins/ckeditor-for-wordpress/ckeditor.config.js
@@ -0,0 +1,41 @@
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

/**
* Documentation:
* http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html
*/

CKEDITOR.editorConfig = function(config) {
// The minimum editor width, in pixels, when resizing it with the resize handle.
config.resize_minWidth = 450;

// Protect PHP code tags (<?...?>) so CKEditor will not break them when
// switching from Source to WYSIWYG.
config.protectedSource.push(/<\?[\s\S]*?\?>/g);

// Define toolbars, you can remove or add buttons.
// List of all buttons is here: http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.toolbar_Full

// WordPress basic toolbar
config.toolbar_WordpressBasic = [ [ 'Bold', 'Italic', '-', 'Link', 'Unlink', '-', 'Blockquote' ] ];

// WordPress full toolbar
config.toolbar_WordpressFull = [
['Source'],
['Undo','Redo'],
['Image','Table','SpecialChar'],
['Bold','Italic','Underline'],
['NumberedList','BulletedList','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight'],
['Link','Unlink'],
['Format','Font','FontSize'],
['TextColor','BGColor']
];

// mediaembed plugin
// config.extraPlugins += (config.extraPlugins ? ',mediaembed' : 'mediaembed' );
// CKEDITOR.plugins.addExternal('mediaembed', ckeditorSettings.pluginPath + 'plugins/mediaembed/');
};
95 changes: 95 additions & 0 deletions wp-content/plugins/ckeditor-for-wordpress/ckeditor.styles.js
@@ -0,0 +1,95 @@
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

/*
* This file is used/requested by the 'Styles' button.
* 'Styles' button is not enabled by default in WordpressFull and WordpressBasic toolbars.
* Documentation:
* http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Styles
*/

CKEDITOR.addStylesSet( 'wordpress',
[
/* Block Styles */

// These styles are already available in the "Format" combo, so they are
// not needed here by default. You may enable them to avoid placing the
// "Format" combo in the toolbar, maintaining the same features.
/*
{ name : 'Paragraph' , element : 'p' },
{ name : 'Heading 1' , element : 'h1' },
{ name : 'Heading 2' , element : 'h2' },
{ name : 'Heading 3' , element : 'h3' },
{ name : 'Heading 4' , element : 'h4' },
{ name : 'Heading 5' , element : 'h5' },
{ name : 'Heading 6' , element : 'h6' },
{ name : 'Preformatted Text', element : 'pre' },
{ name : 'Address' , element : 'address' },
*/

{ name : 'Blue Title' , element : 'h3', styles : { 'color' : '#000080' } },
{ name : 'Red Title' , element : 'h3', styles : { 'color' : '#B22222' } },

/* Inline Styles */

// These are core styles available as toolbar buttons. You may opt enabling
// some of them in the Styles combo, removing them from the toolbar.
/*
{ name : 'Strong' , element : 'strong', overrides : 'b' },
{ name : 'Emphasis' , element : 'em' , overrides : 'i' },
{ name : 'Underline' , element : 'u' },
{ name : 'Strikethrough' , element : 'strike' },
{ name : 'Subscript' , element : 'sub' },
{ name : 'Superscript' , element : 'sup' },
*/

/*
{ name : 'Big' , element : 'big' },
{ name : 'Small' , element : 'small' },
{ name : 'Typewriter' , element : 'tt' },
*/

{ name : 'Computer Code' , element : 'code' },
/*
{ name : 'Keyboard Phrase' , element : 'kbd' },
{ name : 'Sample Text' , element : 'samp' },
{ name : 'Variable' , element : 'var' },
{ name : 'Deleted Text' , element : 'del' },
{ name : 'Inserted Text' , element : 'ins' },
*/
{ name : 'Cited Work' , element : 'cite' },
{ name : 'Inline Quotation' , element : 'q' },

{ name : 'Language: RTL' , element : 'span', attributes : { 'dir' : 'rtl' } },
{ name : 'Language: LTR' , element : 'span', attributes : { 'dir' : 'ltr' } },

{ name : 'Marker: Yellow' , element : 'span', styles : { 'background-color' : 'Yellow' } },
{ name : 'Marker: Green' , element : 'span', styles : { 'background-color' : 'Lime' } },

/* Object Styles */

{
name : 'Image on Left',
element : 'img',
attributes :
{
'style' : 'padding: 5px; margin-right: 5px',
'border' : '2',
'align' : 'left'
}
},

{
name : 'Image on Right',
element : 'img',
attributes :
{
'style' : 'padding: 5px; margin-left: 5px',
'border' : '2',
'align' : 'right'
}
}
]);
66 changes: 66 additions & 0 deletions wp-content/plugins/ckeditor-for-wordpress/ckeditor.templates.js
@@ -0,0 +1,66 @@
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

/*
* This file is used/requested by the 'Templates' button.
* 'Templates' button is not enabled by default in WordpressFull and WordpressBasic toolbars.
* Documentation:
* http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Templates
*/

// Register a templates definition set named "default".
CKEDITOR.addTemplates( 'default',
{
// The name of sub folder which hold the shortcut preview images of the
// templates.
imagesPath : ckeditorSettings.pluginPath + 'images/',

// The templates definitions.
templates :
[
{
title: 'Image and Title',
image: 'template1.gif',
description: 'One main image with a title and text that surround the image.',
html:
'<h3>' +
'<img style="margin-right: 10px" height="100" width="100" align="left"/>' +
'Type the title here'+
'</h3>' +
'<p>' +
'Type the text here' +
'</p>'
},
{
title: 'Strange Template',
image: 'template2.gif',
description: 'A template that defines two colums, each one with a title, and some text.',
html:
'<table cellspacing="0" cellpadding="0" style="width:100%" border="0">' +
'<tr>' +
'<td style="width:50%">' +
'<h3>Title 1</h3>' +
'</td>' +
'<td></td>' +
'<td style="width:50%">' +
'<h3>Title 2</h3>' +
'</td>' +
'</tr>' +
'<tr>' +
'<td>' +
'Text 1' +
'</td>' +
'<td></td>' +
'<td>' +
'Text 2' +
'</td>' +
'</tr>' +
'</table>' +
'<p>' +
'More text goes here.' +
'</p>'
}
]
});
24 changes: 24 additions & 0 deletions wp-content/plugins/ckeditor-for-wordpress/ckeditor/.htaccess
@@ -0,0 +1,24 @@
#
# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
#

#
# On some specific Linux installations you could face problems with Firefox.
# It could give you errors when loading the editor saying that some illegal
# characters were found (three strange chars in the beginning of the file).
# This could happen if you map the .js or .css files to PHP, for example.
#
# Those characters are the Byte Order Mask (BOM) of the Unicode encoded files.
# All FCKeditor files are Unicode encoded.
#

AddType application/x-javascript .js
AddType text/css .css

#
# If PHP is mapped to handle XML files, you could have some issues. The
# following will disable it.
#

AddType text/xml .xml

0 comments on commit 978e0ca

Please sign in to comment.