...

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



wojo1086
09-10-2011, 03: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.

jmrker
09-10-2011, 04:21 AM
Tons of editors available from simple to complex.
Google 'javascript text editor' for some like this:
http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm
http://www.webdesignerdepot.com/2008/12/20-excellent-free-rich-text-editors/
http://www.queness.com/post/212/10-jquery-and-non-jquery-javascript-rich-text-editors

chump2877
09-10-2011, 07: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).

I.e.,


<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' ]
];



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum