Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 15, 20195 yr I have a need to include the ability to create tables and manage them in the editor. I have found the plugins for it on the ckeditor site however there are so many buttons needed that it takes up an entire large editor toolbar width. What I was hoping is that someone could tell me how I could create 1 button for Tables that when clicked drops down showing all the table buttons . This is what I have now and I would much prefer to have all those buttons on the 3rd toolbar as a drop down from a single button on the 2nd toolbar:
August 15, 20195 yr The easy answer - you contact the developer of the ckeditor plugin you used to request a change to the functionality of the plugin. What is the name of the plugin you used?
August 15, 20195 yr That looks like the Table Tools Toolbar plugin. You could try Table Tools which adds most of those features via a (I think) Ctl+Right Click to show extra functionality in the pop up.
August 15, 20195 yr 24 minutes ago, GlenP said: That looks like the Table Tools Toolbar plugin. It is indeed. @ibaker - if you want to get your hands dirty, and know JS, then the item to look at in the CKEditor API is addMenuGroup, which will allow you create a menu group. You'd then have to modify the plugin.js file of the plugin itself to change things around from the existing editor.ui.addButton calls to the addMenuGroup structure. I'll see if I can find an example of the above for reference. Here you go..... http://jsfiddle.net/oleq/vmYCF/ I think the above suggestion about the additional plugin to move things to the right-click action would be the better move though.
Archived
This topic is now archived and is closed to further replies.