Table Editor for YUI's Rich Text Editor
Ben Kittrell
09/10/2010 07:48PM
We've been beta testing our new implementation of YUI's Rich Text Editor in DoodleKit and almost instantly we received complaints of the missing Table Editor. So I made one.
It's pretty basic so far and uses the "Insert then Edit" pattern that's already used in existing YUI RTE components. You can edit table properties like width and border, and there's a context menu for inserting and removing rows and columns.
Check out an example here
I've put it up on GitHub, and installing it is super easy.
- Copy table-editor.js, table-editor.css and table-editor.png to your desired locations.
- Include the table-editor.js and table-editor.css in your HTML.
- Modify table-editor.css to point to table-editor.png
-
After your Editor has been instantiated, initialize the table editor.
myEditor.initTableEditor(); - Add a button with a value of 'inserttable' to your toolbar.
You can check out the table-editor.html file for example usage.
YUI RTE Table Editor on GitHub
Comments
Nice work! I didn't notice any kind of license for this. Any thoughts or plans on that?
Honestly I haven't thought about it, but lets go with BSD like YUI.
http://developer.yahoo.com/yui/license.html
Excellent plugin for RTE! Saved me a day or two of banging my head against my desk.
Nice work, Ben. Thanks!
You're a star, thanks mate.
I want to thank you for this informative read, I really appreciate sharing this great post. Keep up your work. Thanks for this very useful info you have provided us.
This is a really interesting and informative post. Good job! keep it up, hope to read your other updates. Thanks for this nice sharing.
[url=http://www.watchessoul.com/breguet-classique-replica-cb1874.html]breguet classique 5177 [/url]
This is the best post for anybody who wants to search out out about this topic. You realize a lot its almost hard to argue with you (not that I truly would need…HaHa). You positively put a brand new spin on a topic thats been written about for years. Nice stuff, simply nice!
Lambert, héritier richissime des ciments du même nom.?"2012 ne sera pas comme 2007, où il s’agissait pour nous d’une prise d’indépendance", avait-il ajouté. <b><a href="http://www.lvpascher1.com/">sac louis vuitton</a></b> Le risque d'explosion est prégnant tant que les décisions prises avec Angela Merkel ne sont pas effectives", a déclaré le chef de l'Etat, mercredi 7? <b><a href="http://www.lvpascher1.com/">sac vuitton</a></b>Pr? <b><a href="http://www.lvpascher1.com/">sacs louis vuitton</a></b>) ils voulaient reprendre leur destin en main", a lancé le candidat, "je vois ce vote comme un cri de souffrance, comme l'expression d'une souffrance, parfois même de colère".?Ses armes contre Hollande :? <b><a href="http://www.lvpascher1.com/">louis vuitton site officiel</a></b> FTVi avec AFP 616 euros par mois, hors charges. Les tractations, c'est la gauche, a-t-il dit en substance. La gauche doit défendre ce droit de vote jeudi au Sénat, où elle est majoritaire.L'annonce de cet accord va se traduire par un nouveau report du procès, le juge Carl Barbier ayant décidé d'ajourner le cas sine die pour permettre notamment aux parties de "revoir leurs positions respectives". <b><a href="http://www.lvpascher1.com">louis vuitton pas cher</a></b>
Copyright Enforcement Group offers copyright protection and monetization services to copyright owners worldwide.
I have problems with attaching events like 'keydown' and 'keypress' to 'td' elements. I want to perform tab switching between rows functionality. Where I gonna start?
According to my analysis, thousands of people on our planet get the credit loans (goodfinance-blog.com) at different banks. Thus, there is good possibilities to get a short term loan in all countries.
<a href="www.michaelkorsoutlet2.com">MK Clutches Outlet</a>), <a href="www.michaelkorsoutlet2.com">Michael Kors Clutches Sale</a>I have problems with attaching events like 'keydown' and 'keypress' to 'td' elements. I want to perform tab switching between rows functionality. Where I gonna start?
The post is written in very a good manner and it entails much useful information for me. I am happy to find your distinguished way of writing the post.
http://www.spanien-transport.org
You’ve got some interesting points in this article. I would have never considered any of these if I didn’t come across this. Thanks!.
http://www.pushautogram.com
This is the first time I visited this blog. Really this is awesome work with the blog.
http://www.ronthomhome4sale.com
It has been part of their tradition to fight no matter if it will take their lives.
http://www.fullyloadedmagazine.co.uk
Outstanding blog post, I have marked your site so ideally I’ll see much more on this subject in the foreseeable future
http://www.mypersonalhealthrecord.us
Hello there, just was alert to your weblog via Google, and located that it is really informative. I will be grateful when you continue this in future. Many other people will probably be benefited from your writing. Cheers! -
http://www.isid.biz
I will be grateful when you continue this in future. Many other people will probably be benefited from your writing.
Excellent plugin for RTE! Saved me a day or two of banging my head against my desk .
Lambert, héritier richissime des ciments du même nom.?"2012 ne sera pas comme 2007, où il s’agissait pour nous d’une prise d’indépendance", avait-il ajouté.
I will be grateful when you continue this in future. Many other people will probably be benefited from your writing. Cheers! -
There are so many aspects to this, and you have opened up another train of thought for me to examine. Thank you for your insight.
Saved me a day or two of banging my head against my desk.<a href="http://mirabraxton.tumblr.com/">Weight loss pill</a>
I didn't notice any kind of license for this. Any thoughts or plans on that - See more at: http://www.garbageburrito.com/blog/entry/1070621/table-editor-for-yuis-rich-text-editor#sthash.gb01LNV5.dpuf
There are so many aspects to this, and you have opened up another train of thought for me to examine. - See more at: http://www.garbageburrito.com/blog/entry/1070621/table-editor-for-yuis-rich-text-editor#sthash.fDyw0MhC.dpuf
Honestly I haven't thought about it, but lets go with BSD like YUI.
editor.png to your desired locations.
Include the table-editor.js and table-editor.css in your HTML.
Our full-service center is dedicated to helping you maintain your investment and is ready to take care of all your rug needs.
ad, you see, it’s simply a fact that gooey brownies are so overwhelmingly delicious that it’s practically a crime to purposely create non-gooey brownies.
Finally, practically everybody favors playing exciting amusements propelled by Nintendo Corporation...
I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you!
Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one.
I love the blog. Great post. It is very true, people must learn how to learn before they can learn. lol i know it sounds funny but its very true. . .
<a href='http://wolfseotool.jigsy.com/' target='_blank'>Click here</a>
That is really something easy that you can do when you are making some correction in the working sheet. More was in the www.bestdissertation.com that has given me the description of using this method.
That is really something easy that you can do when you are making some correction in the working sheet. More was in the http://www.bestdissertationsite.com/ that has given me the description of using this method.
That is really something easy that you can do when you are making some correction in the working sheet.
Check out this video. Very funny. But also a great idea.
i adore perusing this article so beautiful!!great work!
Main product is an email newsletter and email marketing platform with built-in content for professional service firms, including accounting firms, estate planning law firms, payroll providers, PEOs (Professional Employer Organizations), employee benefits firms, human resource consultants and health care professionals. (Industries overview can be found at http://industrynewsletters.com/industrynewsletters-overview/industries-served/.)
Thank you so much for sharing this info. I've been looking for a solution for this a long time.I really appreciate sharing this great post. Keep up your work.See more tips at http://seopackagereviews.com/
I have been looking for such an article like this for many days and finally got it with my friends help. Thank You
Well done, Ben. Thank you !
http://www.persun.fr/
This a good way to appreciate the teacher as they put their efforts to train students. UK dissertation Writers appreciates the teachers.
http://www.tangofish.com.au/
Assume paid for with the help of center, have discovered modern society; believed that protect on your playlists, you could potentially know most of the hassle; assumed ones step quit, much more is unable to drive; Imagine I would like adore, merely the caress.
http://darkwritertool.com/
There are a number of plays of food show. This show is the greater podcast that can be watched at YouTube also. https://www.rebelmouse.com/perma/smart-ways-on-how-to-get-more-likes-and-views-on-youtube-2276292789.html
You would also like to listen about the Company where I do job which provides best creative writer India which can make your show more popular.
Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work!!!
http://ozleasing.com/
I havent any word to welcome this post.....Really i am inspired from this post....the individual who make this post it was an extraordinary human..thanks for imparted this to us.
I really love this post I will visit again to read your post in a very short time and I hope you will make more posts like this.
http://www.tangofish.com.au/
Post a Comment