View Full Version : How would I create something like this text editor?

09-10-2011, 02:49 AM
I assumed this is a javascript based text editor because when I turn off javascript it doesn't work. I was wondering how something like this is created. maybe not this exact one, but how would I create something like it. Maybe just a simple editor that changes text size and color.

09-10-2011, 03:21 AM
Tons of editors available from simple to complex.
Google 'javascript text editor' for some like this:

09-10-2011, 06:34 AM
In my opinion, CKEditor (http://ckeditor.com/) and CKFinder (http://ckfinder.com/) are the best WYSIWYG editor and file upload management tools out there. You can't do too much better.

Maybe just a simple editor that changes text size and color.

You can pare down CKEditor to suit your needs via a simple configuration setting (http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.toolbar).


<static> {Array|String} CKEDITOR.config.toolbar
Since: 3.0
The toolbox (alias toolbar) definition. It is a toolbar name or an array of toolbars (strips), each one being also an array, containing a list of UI items.
Defined in: plugins/toolbar/plugin.js.
// Defines a toolbar with only one strip containing the "Source" button, a
// separator and the "Bold" and "Italic" buttons.
config.toolbar =
[ 'Source', '-', 'Bold', 'Italic' ]