 |
 User: Login | Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. News and Articles about Designing and Developing wiht Yahoo! Libraries. |
| Address URL | http://yuiblog.com/blog Registered: 26-Apr-2008 |
| Ads: | |
Send to email | Writing a WYSIWYG Wiki Editor with YUI and Grails in DevelopmentGlen SmithGrailsRich Text EditorRTEtextile-jwikiyui | By Eric Miraglia el 01-May-2008 |
Read Glen Smith's tutorial on using the YUI RTE to create and edit wiki text.: Paste this image in your site, Myspace, Facebook, Ebay copy this code...
Check out Glen's screencast showing the editor in action.: Paste this image in your site, Myspace, Facebook, Ebay copy this code...
One of the challenges faced in creating and deploying Rich Text Editors is the number of markup formats you may need to support on the output side — ranging from HTML to Wiki-style text to purely idiosyncratic markup styles. Dav worked hard on the YUI Rich Text Editor to make output transformations as straightforward as possible. (If you’re doing YUI RTE work and haven’t seen Dav’s video intro to the component, you can check it out here.)
Glen Smith from Canberra shared some antipodean YUI goodness today with a quick tutorial on using the YUI RTE for editing Wiki text. He’s been using the Grails YUI Plugin, mixing in a little textile-j, and he’s got something working well enough for version 1:
Turns out the recipe for making all this work is pretty straighforward:
- When switching from Wiki markup to HTML, do an Ajax call to a backend Grails controller that uses textile-j to convert from textile markup to html. Feed the result of the AJAX call to the YUI Rich Editor and you’re in business.
- To support switching from RichText to Textile, again do an Ajax call back to the Grails controller to the do the conversion. This time you’re on your own in regexp land, but you can trim the amount of work you’ve got to do by what you expose in the Rich editor. Return the results and inject into the Wiki textarea.
- To get the underlying html from the editor just use
myEditor.getEditorHTML(). Awesome!
For more, check out Glen’s blog post and accompanying QuickTime movie.
Read 5 times

|
|
 |
 |
 | Yahoo User Interface Blog | Blogger | Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. Yahoo! User Interface Blog News and Articles about Designing and Developing wiht Yahoo! Libraries. |
| Writing a WYSIWYG Wiki Editor with YUI and Grails | One of the challenges faced in creating and deploying Rich Text Editors is the number of markup formats you may need to support on the output side — ranging from HTML to Wiki-style text to purely idiosyncratic markup styles. Dav worked hard on the YUI Rich Text Editor to make output transformations as straightforward [...] [..] Read complete article |  | Published 01-May-2008 by Eric Miraglia in DevelopmentGlen SmithGrailsRich Text EditorRTEtextile-jwikiyui Read 5 times. More hits in  |
|
 | Yahoo User Interface Blog | Blogger | Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. Yahoo! User Interface Blog News and Articles about Designing and Developing wiht Yahoo! Libraries. |
| Video: Scott Davis on Using YUI with Grails | Mastering Grails columnist (and author of books on topics ranging from Java to GIS) Scott Davis gave a fantastic talk on using YUI with Grails at the 2007 Rich Web Experience in San Jose. Thanks to Jay Zimmerman and his No Fluff Just Stuff conference team, that talk is now available freely on video from [...] [..] Read complete article |  | Published 14-Jun-2008 by Eric Miraglia in Development Read 5 times. More hits in  |
|
 | Yahoo User Interface Blog | Blogger | Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. Yahoo! User Interface Blog News and Articles about Designing and Developing wiht Yahoo! Libraries. |
| Video: Scott Davis on Using YUI with Grails | Mastering Grails columnist (and author of books on topics ranging from Java to GIS) Scott Davis gave a fantastic talk on using YUI with Grails at the 2007 Rich Web Experience in San Jose. Thanks to Jay Zimmerman and his No Fluff Just Stuff conference team, that talk is now available freely on video from [...] [..] Read complete article |  | Published 14-Jun-2008 by Eric Miraglia in Development Read 3 times. More hits in  |
|
 | Kotaku`s The Gamers Guide | Blogger | XBOX 360 Gamers Weblog
Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred |
 | Kotaku`s The Gamers Guide | Blogger | XBOX 360 Gamers Weblog
Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred |
| Video Game Tropes Wiki [Lists] | | We all know and love (or hate) the expansive list of video game tropes; the TV Tropes wiki has put together a shockingly extensive list (also home of a wiki version ofthe grand list of RPG clichés), spanning all sorts of genres and with plenty of [..] Read complete article |  | Published 13-Apr-2008 by Maggie Greene in Listsnarrative designRpgTropesWiki Read 6 times. More hits in ![Images about Video Game Tropes Wiki [Lists]](./images/photo.gif) |
|
 | Joystiq | Blogger | Covers video game news from an independent, unbiased perspective Joystiq Joystiq |
| Zero Punctuation spares Zack & Wiki | Filed under: Culture, Nintendo Wii
Zack & Wiki is the target of this week's Zero Punctuation review and thankfully the game comes out relatively uns [..] Read complete article |  | Published 27-Mar-2008 by Alexander Sliwinski in capcomescapistyahtzeezack-and-wikizackandwikizero-punctuationzeropunctuation Read 20 times. More hits in  |
|
 | Kotaku`s The Gamers Guide | Blogger | XBOX 360 Gamers Weblog
Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred |
| Oh Writing To Myself, Oh Writing To Myself, Oh Writing To Myself [Day Note] | | To: Ashcraft
From: Ashcraft
Ah, yes, you just woke up. Sleep, isn't it WUNDERFUL?! Over the weekend, you and Mini-Bash took your buddy from high school to Shinsekai in Osaka, watched old men rock the cup sake at 10am and ate some seriously good kushikatsu. Last night before you slept, you downloaded a Heatmiser album. You should listen to it. Today, even!
W [..] Read complete article |  | Published 26-May-2008 by Brian Ashcraft in day noteNote Read 3 times. More hits in ![Images about Oh Writing To Myself, Oh Writing To Myself, Oh Writing To Myself [Day Note]](./images/photo.gif) |
|
 | Kotaku`s The Gamers Guide | Blogger | XBOX 360 Gamers Weblog
Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred |
 | Kotaku`s The Gamers Guide | Blogger | XBOX 360 Gamers Weblog
Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred |
| The Pleasure of Writing About Games [Journalism] | | Over at Gamers With Jobs, Julian Murdoch looks at the craft of writing about games — and how being a gaming journalist has improved his relationship with games. While I've found writing about games has significantly cut into my time I can spend playing games &mdash [..] Read complete article |  | Published 13-Jul-2008 by Maggie Greene in Journalism Blogging Culture Writing Read 0 times. More hits in ![Images about The Pleasure of Writing About Games [Journalism]](./images/photo.gif) |
|
 | Kotaku`s The Gamers Guide | Blogger | XBOX 360 Gamers Weblog
Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred |
 | Annis Blogs Center | Indonesia | An Indonesia Tech Blog. Just a simple guide to easy computing and learn the beauty of Information Technology. ANNIS BLOGS CENTER |
| Take a chance to win Nokia N95 Multimedia Device! | | Hi guys i've just got this information from Forum Nokia Wiki, please read this to win Nokia N95!Be one of the top contributors to this Wiki during May and win Nokia?s new premier multimedia device. The rules are simple, contribute quality or topical articles, How to?s or code examples. All articles submitted will be judged on how well they are presented, what the content is and the number of quality entries. The number of N95?s awarded will be reflected by the [..] Read complete article |  | Published 14-May-2007 by annis in General Read 5 times. More hits in  |
|
 | Kotaku`s The Gamers Guide | Blogger | XBOX 360 Gamers Weblog
Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred |
|
Warning We are not responsible of information posted from external feeds. Use this website at your own risk.
Notice: We will not be liable for any direct or indirect loss or damage arising under this disclaimer or in connection with our website, whether arising in tort, contract, or otherwise.
|
|
| |