Loading...
 
Features / Usability

Features / Usability


Adding extraPlugins to CKEditor

posts: 3

hello,

Tiki newbie here. What is the proper, or at least cleanest, way to add a plugin to CKEditor? The one i am particularly interested in is "TableResize". The CKEditor documentation tells you how to do it (http://nightly.ckeditor.com/7477/_samples/tableresize.html), and have done it before for other projects, but i was not able to find where to add this in, either through the web admin or through actual code.

thank you,
-=- adamtg

posts: 1630 Canada

Strange that it's not activated by default. It's a nice feature.

Can you add to the main Tiki code base? Please addto trunk, and once it's proven working well, we can consider a backport to 9.x

How to get commit access

Thanks!

M ;-)

posts: 3

my question was *where* do i add it in? i did not see anything in the web admin to add plugins like this, and i was not able to find anything obvious in the code where to add it.

-=- adamtg

posts: 3

i basically grep'ped through the code, looking for certain keywords, but there was nothing to clear for me where to add it in the code.

is there a developers guide or anything like that. i know i know to "add stuff in the code". but in my original question i asked how to add in a new plugin "either through the web admin or through actual code." since you can;t add add-hoc plugins through the web admin, i am now looking for some guidance for the "actual code part", so i will post this question in the Developmnent forum.

-- adamtg


posts: 126886 United Kingdom

Hi

Yes, that looks good - the place (in Tiki 9) to add it is in wysiwyglib.php - in previous versions it would be in block.textarea.php.

Attached is a patch for Tiki 9 that i hope helps. After 9.0 is released i'll commit it for 9.1 (as we're trying to be in a fixes only freeze for 9.0 coming soon)

Maybe for 10 we should look at a more gui way to enable & disable these extra plugins...

Thanks

jonny

posts: 1630 Canada

Hi!

It's such a minor code change, and adds value. Any reason not to have it as a default, always on feature?


adamtg: I hope you bring more enhancements. How about getting your commit access?

How to get commit access

Best regards,

M ;-)


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting