I upload the contents of the ckeditor beta 4 to my custom theme js folder, and I add in my custom theme info file the line "scripts[] = js/ckeditor.js".

Then I just have to add the attribute "contenteditable=true" to any div that I want to edit.

I use ajax to save to node the modifications.

No need for any custom module.

Comments

mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

You try to use CKEditor 4 beta without module for drupal just in your custom theme , am I right ?
What problems do you have with this.

Taesto’s picture

Status: Postponed (maintainer needs more info) » Active

Exactly.
No problem at all, it works fine so far.
Just wanted to point it out for those who want to try out the beta. (that's why I put it in documentation component)

mkesicki’s picture

Title: How to use ckeditor beta 4 right now with drupal 7 » Short description about using CKEditor beta 4 with drupal 7

@Taesto,
thank you for sharing this information :)

TelFiRE’s picture

"I use ajax to save to node the modifications."

Could you explain how you accomplished this?

Looking forward to inline editing. Think that will be a massive improvement to the back-end Drupal can provide.

Thanks!

Anonymous’s picture

any info about how to use CKEditor 4.x (beta and beyond) on drupal 7 and/or 6?
thanks in advance

mkesicki’s picture

@giorez,
we are working on this. Please remember that CKEditor library is still in beta.

jcisio’s picture

"I use ajax to save to node the modifications."

Could you explain how you accomplished this?

Yes, that would be the trickiest thing ;)

dczepierga’s picture

I've add support of CKEditor v4 in CKEditor module - #1847662: [D7] Add support for CKEditor v4.
Any help to review this will be appreciated.

Greetings

kingfisher64’s picture

So support for v4 inline editing capabilities has been added but it's not yet fully usable? I'd really like to be able to give clients this functionality.

dczepierga’s picture

@kingfisher, it is added support for CKEditor 4 - to work like CKEditor 3... I think inline editing is not possible here because Drupal 7 not support sth like this - maybe it's some module to do that but i don't know any...

I only know that is project called Spark (link) and this is standalone Drupal version for inline editing, but is still in development...

Greetings

kingfisher64’s picture

@dczeperiga - many thanks for clearing that up. I've tried http://drupal.org/project/aloha, http://drupal.org/project/edit, raptor (http://drupal.org/project/1791154/git-instructions), http://drupal.org/project/editablefields with only editable field stably working with d7.17 (this doesn't provide full functionlity inline styling).

@Taesto - how did you get this working with "I use ajax to save to node the modifications". Would you mind posting the code here so others could use your solution?

Thank you

TelFiRE’s picture

@dczepirga "Not Possible" is wholly inaccurate, as shown earlier in this thread people do have it working, including inline editing. The question is how. Currently it would take messing with Drupal's ajax which is way out of my depth. Of course just building it into the module is the ideal solution, so I think it's a feature request -- but I assume it's fairly safe to say it's already on the rader (sure hope so anyway).

jcisio’s picture

Maybe just add the inline edit for title could be good, and it is easy (just hook up with the $title_prefix, like contextual links), but then there is no interest for a WYSIWYG editor when it comes to editting a title ;)

Therefore, inline editing would be a nice feature request, but I don't think there are someone who is willing to invest in a general solution in this issue queue. The Spark team focus on D8 now, so there won't be a solution for D7 before D8 is out. Then when D8 is out, D7 will be left behind :P

kingfisher64’s picture

Title: Short description about using CKEditor beta 4 with drupal 7 » CKEditor 4 inline editing with drupal 7
Priority: Normal » Major

If Taesto is kind enough to share this information like just suggested could it be built into the module?

There is no inline editing solution in drupal 7 - at all. Aloha & edit are just not stable and the developers are not in a hurry to fix critical issues to make it work now. I wrote to the module devoloper of raptor and he suggested he was waiting for ckeditor 4.

kingfisher64’s picture

Category: support » feature

removed/edited comment as this request would be more appropriate under edit/aloha.

ipwa’s picture

The Edit module will work with CKEditor but through the CKEditor for WYSIWYG Module, see this issue: #1873500: CKEditor + Edit

Gabrieles’s picture

The Edit ( 7.x-1.0-alpha11+1-dev) module now works beautifully with the CKEditor module, too! :)

NB: I tested it with 7.x-1.13 (the latest recommended version) I did not change the version in this post since I do not want to hijack the thread, and hope it will work even with 7.x-1.9! If anybody wants to test it...

jcisio’s picture

Status: Active » Closed (works as designed)

It is done with Edit module at #1879832: Edit module integration with CKEditor. Nothing else to do with CKEditor module then.