Closed (fixed)
Project:
Boxes
Version:
7.x-1.0-beta7
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2012 at 17:46 UTC
Updated:
11 May 2012 at 00:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
brenk28 commentedThis patch simply replicates the cancel button action.
I did notice some unexpected behavior whilst testing. For instance, without this page, if I tried to edit the same place twice, the first time I would get the "popup" whereas the second time it would be inline. And the second time ckeditor js throws an error and doesn't render. It seems to happen as well if I edit different blocks on the same page. With the patch, I still have most of this, though the second time I edit the same block, it still with the popup editor, though you can see the inline editor underneath.
So, this patch doesn't address those other items, need to dig into a bit more to figure those out.
Comment #2
jec006 commentedUpdated patch to fix the inline editor problems and some js problems.
Comment #3
tirdadc commentedThe patch in #2 fixes the original issue and behaves consistently. Tested and committed, thanks!
Comment #4
tirdadc commentedWhile this does work with regular boxes and views boxes, it gets stuck in 'loading...' mode with entity boxes. Will need to investigate a bit.
Comment #5
jec006 commentedThis also doesn't address detaching the wysiwyg - this will cause issues if you try to edit a box 2 times in a row
Here is a patch to fix that issue
Comment #6
jec006 commentedAnd one without the whitespace error
Comment #7
tirdadc commentedThis does fix the bug that led to the '[CKEDITOR.editor] The instance "edit-body-value" already exists.' when calling method: [nsIDOMEventListener::handleEvent] error message due to the WYSIWYG not getting properly detached before. Committed.
Comment #8
jec006 commented