jQuery FCKEditor Pluginv1.32 Upgrade to CKEditor! |
Replacing ALL textareas in a page with THE SAME settings
<textarea name="fck1" cols="50" rows="6"></textarea>
<textarea name="fck2" cols="50" rows="6"></textarea>
<textarea name="fck3" cols="50" rows="6"></textarea>
<script> $(function(){ $('textarea').fck({path: '/path/to/fck/directory/'}); }); </script>
replacing SOME textareas in a page with THE SAME settings
In this example, only textarea fck3 will not be converted into a FCKEditor.
<textarea name="fck1" class="fck" cols="50" rows="6"></textarea>
<textarea name="fck2" class="fck" cols="50" rows="6"></textarea>
<textarea name="fck3" cols="50" rows="6"></textarea>
<script> $(function(){ $('textarea.fck').fck({path: '/path/to/fck/directory/'}); }); </script>
replacing SOME textareas in a page with DIFFERENT SETTINGS
<textarea name="fck1" cols="50" rows="6"></textarea>
<textarea name="fck2" cols="50" rows="6"></textarea>
<textarea name="fck3" cols="50" rows="6"></textarea>
<script>
$(function(){
$.fck.config = {path: '/path/to/fck/directory/', height:300 };
$('textarea#fck1').fck(/* default settings */);
$('textarea#fck2').fck({ toolbar:'MyCustomerToolbar' });
$('textarea#fck3').fck({ toolbar:'MyCustomerToolbar', height:200 });
});
</script>
This example below illustrates how to install multiple FCKEditors (with different settings) on one page.
textarea1
<strong>textarea1</strong><br/>
<textarea name="fck1" id="textarea1">textarea name : fck1<br />textarea id : textarea1</textarea>
<hr/>
<strong>textarea2</strong><br/>
<textarea name="fck2" id="textarea2">textarea name : fck2<br />textarea id : textarea2</textarea>
//# TEST PAGE FUNCTIONALITY
$(function(){
$.fck.path = '/fwx/inc/fck/';
$('#textarea1').fck({toolbar: 'Default', height: 200 });
$('#textarea2').fck({toolbar: 'Basic', height: 100, width:300 });
});
This project (and all related files) can also be accessed via its Google Code Project Page.
Full Package: | v1.32 FCKEditor.zip |
Stay up-to-date!
Major updates will be announced on
Twitter:
@fyneworks
|
|
Core Files: |
These are the individual required files (already included in the zip package above)
|
jQuery: | jquery-latest.js (see jQuery.com) |
Related: |
Metadata plugin - Used to retrieve inline configuration from class variable
Form plugin - Used to submit forms via ajax |
If you're a major geek or if you really really want to stay up-to-date with with future updates of this plugin, go ahead and plug yourself to the SVN Repository on the official Google Code Project Page.
SVN Checkout: | SVN Checkout Instructions |
Browse Online: | Browse Source |
Just in case it's the end of the world and the Google Code site becomes unavailable,
the project files can also be downloaded form this site.
However, please note that this site is updated periodically whereas the Google Code
project is kept up-to-date almost instantaneously. If you'd like the very latest
version of this plugin
you are advised to use the links above and download the files from Google Code
- this will ensure the files you download have the very latest features and bug fixes.
Full Package: | v1.32 FCKEditor.zip |
Stay up-to-date!
Major updates will be announced on
Twitter:
@fyneworks
|
|
Core Files: |
These are the individual required files (already included in the zip package above)
|
jQuery: | jquery-latest.js (see jQuery.com) |
Quick Support Links: Help me! | Report a bug | Suggest new feature
Support for this plugin is available through the jQuery Mailing List.
This is a very active list to which many jQuery developers and users subscribe.
Access to the jQuery Mailing List is also available through
Nabble Forums
and the
jQuery Google Group.
WARNING: Support will not be provided via the jQuery Plugins website. If you need help, please direct your questions to the jQuery Mailing List or report an issue on the official Google Code Project Page.
Attribution link: | © Fyneworks.com |
HTML Code: |
FCKEditor Plugin by Fyneworks.com is licensed under the MIT License and the GPL License. | |
Copyright © 2008 Fyneworks.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
FCKEditor Plugin
by Fyneworks.com
is licensed under the MIT License and the GPL License. |
Tested with jQuery 1.4 on IE6, IE7, IE8, FF, Chrome, Opera and Safari |