Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
6.x-1.0-beta1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
9 Jan 2010 at 18:26 UTC
Updated:
3 Dec 2010 at 15:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
danny_joris commentedEven when I exclude no fields, It still won't show a ckeditor textarea in the 'new cusom content' page of Panels.
Comment #2
wwalc commentedYeah, it actually does not work because of the way how CKEditor module was designed.
We'll see what we can do with that after we release the first stable version of CKEditor module.
I hope you'll be willing to test it and help us this way in finding the right way to support Panels (and possibly other dynamically created textareas).
Comment #3
danny_joris commentedHi wwalc,
Tnx for you reply.
Would it work with fckEditor or is ckeditor a copy? My website goes online in a week or two, so if fckeditor would work well with panels, i would use that for now.
I still would love to help you out with testing releases of ckeditor, because ckeditor would still be my first choice wysiwyg app. I'll subscribe to the rss of the releases.
Cheers,
Danny
--Edit: Doesn't seem to work with fckeditor either. :/
Comment #4
danny_joris commentedThis would be a great feature.
http://drupal.org/node/235764#comment-1807754
http://drupal.org/node/356480
I'm going to try if this works. Right now I'd have to install the WYSIWYG module and add tinymce instead of ckeditor i guess...
Comment #5
danny_joris commentedHi,
Jose posted a module/patch to make the "wysiwyg" module work with panels. You can find it here: http://drupal.org/node/235764#comment-2514300 .
It might be useful to make a variation on the ckeditor standalone module?
If I was a developer, I would love to help out. I would love to test patches though.
Cheers,
Danny
--Edit: Right now I use both wysiwyg modules at the same time. TwoD, wysiwyg maintainer told me on irc that normally the wysiwyg module turns off the standalone version on install to prevent conflicting functionality. This is not the case yet because i use wysiwyg with ckeditor, which is still in dev and that functionality to turn off the standalone version is not included yet for ckeditor.
--Edit 2: Hmm, if i use both modules, i can't insert images anymore in the ckeditor - standalone version. If i turn off wysiwyg api, it will work again. Clearly they conflict each other. I don't feel good having them both installed.
Comment #6
wwalc commentedThanks Danny for the info. I'm attaching a patch based on what I've found http://drupal.org/node/235764, didn't check it well so marking for a review.
Comment #7
danny_joris commentedHello Wiktor,
Thank you very much. I made the patch to the latest dev version, but I can't seem to make it work. I checked ckeditor.module and the patch was made correctly. I can't really say what caused it to fail. Is there something I can check?
I sponsored Jose for a solution. It works with imce, except for 2 things:
1. in the 'image properties' I can't fill out any properties in the input fields (vspace, hspace, with, height, etc..)
2. the ID for excluding or including does not work. I need to set the visibility settings to all textareas.
http://drupal.org/node/235764#comment-2589982
I really don't know what the best approach for this problem is. I would love to test all patches and releases committed by Jose and you.
Thanks again.
Cheers,
Danny
Comment #8
mephir commentedThere is only one form id, please wait a moment i will upload another patch with correct it.
Comment #9
mephir commentedPatch attached.
Comment #10
danny_joris commentedHello mephir,
Thanks for sharing your patch. I tried it on a fresh dev version, but it still doesn't work. I don't know why. If there is anything I can check for you, please let me know.
Cheers,
Danny
Comment #11
mephir commentedThere isn't any javascript errors? Please provide some more information, about web browser, which type(page, mini panel, node) of panels are you using. What is the problem, ckeditor don't update textarea when you submit form or editor doesn't load ? My patch is to dev version without wwalc patch.
Comment #12
danny_joris commentedThe only javascript error is an error from image assist:
Tried in FF3.6 and Safari 4.03. I used your patch on the dev version without wwalc patch
I am using node panels: panel content >> add content >> new custom content
The problem is that Ckeditor does not load.
This is the 'response body' when I click ' new custom content:
http://localhost:8082/acquia-drupal/panels/ajax/add-pane-config/4/middle...
If there is anything else I can share or try, please let me know.
Comment #13
mephir commentedThanks Danny, i will install image assist and check it.
Comment #14
danny_joris commentedOh yeah good call. I uninstalled image assist and now it works! I don't really need image assist. It is just a test environment I'm working on, but it is good to know that it gives an error.
I'll try IMCE now.
Comment #15
danny_joris commentedImce works, but I have the same issues as Jose's solution that I can't fill out height, width, vspace, hspace and border.
And I can't seem to use the ID to include or exclude the editor, but maybe I'm using it wrong:
panels/ajax/configure/*/*.edit-bodyComment #16
mephir commentedThanks for feedback i will take a look a little bit closer to this issue.
Comment #17
mephir commented@Danny_Joris: first short help: this plugin(#721914: Opening IMCE window without Image Dialog) open imce into new window without open dialog and it works proper with editing panels. I will try to make something with dialogs.
Ok, i found why there was a problems with dialogs, but it only appear when you have installed plugin above.
Comment #18
mephir commented@Danny_Joris: error with dialogs exists between ckeditor dialog and jquery-ui dialog. I will report this bug.
Comment #19
wwalc commentedComment #20
wwalc commentedBuge reported here: http://dev.fckeditor.net/ticket/4501 and here: http://dev.jqueryui.com/ticket/4727
In the last ticket it seems that someone posted a solution for it (didn't test it).
Comment #21
wwalc commentedAlmost works, but there are some bugs:
- go to node/XXX/panel_content
- using panels "add content -> new custom content"
- add some sample title, teaser, press Finish
- do not click save or cancel, but open "add content -> new custom content" again, result: plain textarea is shown instead of CKEditor.
Comment #22
mephir commentedChanges commited to CVS. wwalc issue(comment above) fixed.
Comment #23
mephir commented@Danny_Joris: in cvs is fix which should solve your problem with dialogs.
Comment #24
danny_joris commentedHello Mephir,
Great!! I tested it and for me it seems to work perfect. Thank you very much for all this.
I'll try the patch for Imce bridge now.
Cheers,
Danny
Comment #25
mephir commentedmark as fixed
Comment #27
memyselfandm commentedWas this patch rolled into 6.x-1.2? i am using that version with panels and am seeing this same problem.