As we prepare to release MooRTE v0.6beta and get ourselves onto the forge, things may be even more beta-ishy than before.
Thank you for your patience as we work this out!
MooRTE: (v0.5b) The Mootools Rich Text Editor!
The TinyMCE replacement that is tinier, more flexible, and just plain awesome...
Classic Moo!
- Tiny - Under 16KB compressed & gzipped, under 500 lines.
- Customisable - Each instance can have its own layout and buttons.
- Multiple Toolbars - One bar for all, or all for one...
- Floating, fixed or inline - Should the editor be in the page flow, or above it?
- Skinnable - comes with a few ugly themes, add your own.
- Flexible - easily extended to include any button or element you can dream of.
- No i-frames! - Smaller, cleaner, trendsetting. Loads of benefits..
- Inline editor - Natively handles true inline editing
- Modular - In true Moo fashion, get your custom build, and shed the extra 2KB
- More - But you're getting impatient. Keep your eyes open, there's more all around...
Ready?
Usage:
$('myElement').moorte(options);
Options:
{elements:[which should be editable], floating:[or inline], skin:[name], buttons:[bold, italic..], location:[above the element? Top of page?..]}
You can also create your own buttons and functions...
Check out the docs for the full rundown of options, or the demos page for use cases.
Download and look at the source code for hands-on fun! (It's simple, trust me!)
Now for some examples, 'cause we all like action!
Example 1: Simple editor
While Mootools is a beloved friend,
it is but a means unto an end,
This spirit has been penned to verse,
In Nash's style; useless but terse.
The Cow:
The cow is of the bovine ilk;
One end is moo, the other, milk.
I couldn't have said it better myself ;)
Not enough buttons?
Example 2: Advanced tabbed editor
Here's the full-blown setup with all the buttons currently available to the public (a whole bunch more are bubbling up at Wonka's place as we speak):
Look at that tabbed interface and tell me that you're not jealous ;) [Luckily it's free..]
I just wanted to point out that your article on Python incorrectly states the number of extensions the language actually has.
I quote here from an authoratative study on the subject by Ogden Nash:
The python has, and I fib no fibs;Please see to it that the matter is corrected.
318 pairs of ribs.
In stating this, I place reliance;
On a seance with one who died for science.
This figure is sworn to, and attested;
He counted them while being digested.
All defaults are set for you through the builder, though you can override them at any time.
Example 3: Inline Editing (Go ahead, click!). Grey skin, floating RTE
The two elements below, when selected, will get an RTE above them.
The RTE is floating and does not affect the DOM.
The programmers hung by their tubes in despair, with hopes that a miracle soon would be there.
The users were nestled all snug in their beds, while visions of enhancements danced in their heads.
When out of the elevator arose such a clatter, I sprang from my desk to see what was the matter.
And what to my wandering eyes should appear but a super programmer (with a six-pack of beer).
His resume glowed with experience so rare, he turned out great code with a bitpushers flair.
More rapid than engines, his programs they came, and he whistled and shouted and called them by name:
"On Update! On Add! On Inquiry! On Delete! On Batch Job! On Closing! On Functions Complete!"
Example 4: Using the toolbar for more than one element
Some of the paragraphs and the image are controlled by the toolbar.
CLICK HERE TO ADD A TOOLBAR TO THE PAGE & MAKE TEXT EDITABLE.
The primary purpose of the Data statement is to give names to constants; instead of referring to pi as 3.141592653589793 at every appearance, the variable Pi can be given that value with a Data statement and used instead of the longer form of the constant. This also simplifies modifying the program, should the value of pi change.
— FORTRAN manual
The following Joke is NOT editable (sorry):
Q: Why do programmers always mix up Halloween and Christmas?
A: Because Oct 31 == Dec 25!
But this one is:
Q: How many programmers does it take to change a light bulb?
A: None, that's a hardware problem
Come join the Google group to find out what's happening, ask questions, or just be a part of the fun!!
Found a bug? Log it on the GitHub issue tracker!
Wanna Join? We need good programmers to help make this into what it could be!