CKEditor

Feed 24 posts, 9 voices

Avatar
12 posts

Is there a tutorial on writing plugins.

I would like to convert http://ckeditor.com/ into a plugin for frog…
Or if there are any advanced developers out there that would like to do it, it would be appreciated. :)

Cheers
Steven

 
Avatar
36 posts

+1, this would be great. I’m sure it’s coming.

 
Avatar
10 posts

Hey all.

I just threw a CKEditor plugin together and it seems to work fine.
I will bundle it and send an update here tomorrow. Need to finish some testing and its bed time here in Sweden.

 
Avatar
10 posts

Sorry for the wait.

I just released my CKEditor plugin for Frog!

You can find the source and installation instructions on github:
http://github.com/acrookston/ckfrog/tree/master

 
Avatar
36 posts

Thanks Andrew. This is great! Works well.

 
Avatar
12 posts

Beautiful! Seems to work great.
I would suggest a settings page.

What’s cool about CKEditor is the “browse server” button when ou want to insert an image.
So in the settings page, we would set the images folder… We could do the same for the CSS.

Keep up the good work!
and thanks again

 
Avatar
10 posts

Yep, that’s in the roadmap.
I will work on that during the week and post an update.

Just wanted to get the first release out quick for all of you to try out!

Please more feedback/feature requests are great!

 
Avatar
36 posts

I’ve been messing around with this for a while now, and just discovered that it doesn’t play nicely with The M’s Page Part Forms. Not sure what’s happening, but it shows up when I first create and specify a Page Part Form, but then when I save and go back the entire editor field is gone. I’m going to look into this a bit more. If anyone has any ideas that would be helpful.

Actually, thinking back, FCKeditor 2.0 didn’t play nicely either.

 
Avatar
2 posts

nice one….

 
Avatar
2 posts

Thanks for the great plug in Andrew! I’m hitting a wall regarding creating a custom toolbar. When I add the code into the ckfrog_config variable in the ckfrog_config.js.php page, Ckeditor quits working. If I take it out it’s fine. This also happens if I take the comments off of either config.uiColor or config.language. Am I doing something wrong, or is there a tweak that I am missing? Thanks in advance!

 
Avatar
10 posts

Hi, I suspect there is a bug in how the config file is loaded and treated. I never tested that properly.

Will have a look soon to see if i can fix it. If you do, please feel free to contribute! :)

 
Avatar
2 posts

Great, thanks again man!

 
Avatar
10 posts

@everflight Seems that’s because Page-Part-Forms uses jQuery and jQuery doesn’t play nice with CKEditor. If I get some time over I can have a look but don’t count on it, a solution probably involves modifying the Page-Part-Forms plugin.

@PrimeMovr Apparently my config example was wrong. A config line should look like this:

language: 'fr',

NOT:

config.language = 'fr';

Does that solve your problem?

I’ll update the code example.

 
Avatar
10 posts

@steven I’ve been doing some looking into that File Browser thing and the one called CKFinder is not free software but has it all if you want to buy it. I wont add support for CKFinder since I’m not interested in paying for that piece of software. I will however see if I can create one myself.
Also, what did you mean with the “We could do the same for the CSS”?

 
Avatar
7 posts

I enabled modrewrite and CKEditor stopped working. Has anybody been able to use CKEditor with modrewrite enabled?

Thanks,
Cj2

 
Avatar
1 posts

Hello,

I am a novice with frog. CKEditor plugin interresse me a lot.
I do not understand all the installation instructions:

cd [your_frog_installation]/frog/plugins/
git clone git://github.com/acrookston/ckfrog.git

I’ave actived plugin in the admin panel, but nothing change.

my site is not local … see (construction) http://etres-enr.lescigales.org

 
Avatar
1 posts

how to add image upload for php function?

 
Avatar
14 posts

I like CKEditor a lot more than the other WYSIWYG editors, but I’m having trouble getting multiple areas loading (using with Page Part Forms). Is anyone else running into trouble with this?

 
Avatar
14 posts

To clarify, I get a “p is undefined” error. Happens all the time in Safari and about about 90% of the time in Firefox.

I get the feeling it’s caused when the page loads too fast. When my connection is acting up and pages load slower, the editor is more reliable. I can’t explain it.