Hello,
I encountered a problem concerning the combination of Edit + CKeditor and the Asset module (http://drupal.org/project/asset).

When I want to quickly edit a full nodes Body field which has an Asset in it (Image), I cannot. Its not getting activated. Whereas in the Teaser view its working (although its not the direct edit of ckeditor 4 coming up but the whole editor area with "Edit summary" and "Text format").

Any help on that is highly appreciated!
Moritz

Module versions used:
Drupal 7.22
Edit latest dev (2013-April-16)
Asset latest dev (2013-Mar-29)

Comments

wim leers’s picture

Assigned: Unassigned » wim leers
Status: Active » Postponed (maintainer needs more info)

Are there errors in the JS console?

Is Asset module overriding the rendering of fields?

shortspoken’s picture

1. Yes. Here they come:

Uncaught TypeError: Cannot read property 'editor' of undefined editable.js:26
jQuery.widget._propertyEditorName editable.js:26
jQuery.widget.enablePropertyEditor create-editonly.js:647
jQuery.widget._enablePropertyEditor create-editonly.js:559
(anonymous function) create-editonly.js:489
jQuery.extend.each jquery-1.7.1.js:658
jQuery.fn.jQuery.each jquery-1.7.1.js:271
jQuery.widget.findEditablePredicateElements create-editonly.js:475
jQuery.widget.enable create-editonly.js:488
jQuery.widget._doSetState create-editonly.js:464
(anonymous function) create-editonly.js:446
Drupal.edit.EditAppView.Backbone.View.extend.acceptEditorStateChange app.js:245
jQuery.widget.setState create-editonly.js:444
(anonymous function) jquery.ui.widget.min.js:13
jQuery.extend.each jquery-1.7.1.js:658
jQuery.fn.jQuery.each jquery-1.7.1.js:271
b.fn.(anonymous function) jquery.ui.widget.min.js:13
(anonymous function) app.js:134
jQuery.extend.each jquery-1.7.1.js:658
jQuery.fn.jQuery.each jquery-1.7.1.js:271
Drupal.edit.EditAppView.Backbone.View.extend.appStateChange app.js:133
Backbone.Events.trigger backbone.js:157
_.extend.change backbone.js:469
_.extend.set backbone.js:314
Drupal.edit.views.MenuView.Backbone.View.extend.editClickHandler menu-view.js:48
jQuery.event.dispatch jquery-1.7.1.js:3256
elemData.handle.eventHandle

2. I dont know how the Asset module works exactly. How to find that out?

wim leers’s picture

Title: Quick Edit Body field with Asset in full view not possible » Edit + Asset: Quick Edit Body field with Asset in full view not possible
Category: bug » support

Are you using jQuery UI 1.10?

shortspoken’s picture

Status report says: jQuery UI 1.8.7

martink’s picture

I also have this problem, but I notice that I am also getting this error message:
The filter "assets_filter" has no type specified! This is required for the Edit module. Please consult Edit module's README.
I have looked at readme, but this is way outside my understanding comfort zone.
Hope this helps!

wim leers’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Please try again now that the Drupal 7 version of Edit has received backports of all the improvements in the Drupal 8 version of Edit since beta 1.