Turns out this is a bug with Firebug inserting random code into empty fields...

<div firebugversion="1.5.4" id="_firebugConsole" style="display: none;">
&nbsp;</div>

See: http://drupal.org/node/836300 for more background.

Comments

Ela’s picture

same issue, subscribing

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Ela’s picture

Status: Closed (fixed) » Active

this issue is not fixed

Ela’s picture

Status: Active » Closed (fixed)

This might have been connected to cck 3.x? With the latest update problem seems to be gone..

weedoo’s picture

Still happening to me... I've seen this issue for more than a year now.

hexabinaer’s picture

Title: Firebug inserts code into CKEditor fields with no content » Firebug inserts code into CKEditor fields
Version: 6.x-1.2 » 7.x-1.0

This is still an issue in 7.x

While configuring a site, I set CKEditor to be used only on user request (by clicking the toggle link).
Maybe it's rather a firebug bug that should be fixed elsewhere. I tried to find an issue queue at getfirebug.com, but it's not fairly as easy as finding drupal-related issues :-/

SandraL’s picture

Status: Closed (fixed) » Active

Changing status to active so that it at least gets looked at - seems like this issue was created as fixed and was closed in error. This is still an issue in 7.x-1.2.

Has anyone found a workaround short of disabling DrupalForFirebug?

SandraL’s picture

Status: Active » Closed (won't fix)

Okay, looking into this further, it seems this was a browser extension issue rather than a problem with the Drupal module. I can't repro the problem in Firefox with Firebug 1.7.3, but it is still a problem in Chrome using the new Drupal for Chrome browser extension (probably based on some older Firebug code).

Disabling the Chrome extension fixed the issue. I'll file a bug there instead.

dczepierga’s picture

Status: Closed (won't fix) » Postponed (maintainer needs more info)

@SandraL, which version of Firebug and Firefox do u use?
As i know they fix it, i try to reproduce this with FF4 and last version of Firebug without any result - for me everything works fine...

Greetings

SandraL’s picture

Status: Postponed (maintainer needs more info) » Active

*facepalm*

I was wrong - it is still happening in Firefox as well as Chrome. Is there a CKEditor browser window with the same name as what firebug uses, perhaps?

<div id="drupalforfirebug_general" style="display: none">
	<fieldset>
		<legend>Drupal for Firebug General Messages</legend>There were no messages sent to the general log. Please use &quot;firep($item, $optional_title)&quot; to output messages to this console.</fieldset>
</div>
<div id="drupalforfirebug_sql" style="display: none">
	<fieldset>
		<legend>Query Logging is Not Enabled</legend>Please enable &quot;Display query info&quot; in the Devel Module Settings (devel/settings) to use this feature.</fieldset>
</div>
<div id="drupalforfirebug_hook_form_alter" style="display: none">
	There was no form altering.</div>
<div id="drupalforfirebug_hook_user" style="display: none">
	There was no user processing.</div>
<div id="drupalforfirebug_hook_nodeapi" style="display: none">
	There was no node processing.</div>
<div id="drupalforfirebug_hook_views" style="display: none">
	There was no views processing.</div>
<div id="drupalforfirebug_hook_page_alter" style="display: none">
	There was no page processing.</div>
<div id="drupalforfirebug_php" style="display: none">
	<object data="http://cms.bastyr.edu/admin/firebug/exec" style="width:100%;frameborder=0;height=100%;margin-bottom:-3px;" type="text/html"></object></div>
SandraL’s picture

@dczepierga, sorry, didn't see your comment/question.

I'm using Firebug 1.7.3 and (as of this morning) Firefox 5.0. This also repros in Chrome 12.0.742.100 with the Drupal for Chrome extension (v.0.4).

Thanks for looking into this.

dczepierga’s picture

Status: Active » Postponed (maintainer needs more info)

As i see u use drupalforfirebug module, not clean firebug - it's probably bug in this module, because we cannot control what they add to source code... Maybe create issue with this bug in their bugtracker and paste here link to it...

We will see what'd they say about it...

Greetings

SandraL’s picture

@dczepierga - Thanks. I will create an issue there as well. However, I think it's worth noting that this problem does not repro with the WYSIWYG module (using the CKEditor library) instead of the CKEditor module itself. (I just went back and verified this.)

It seems to be a compatibility issue between these two modules (CKEditor and DrupalForFirebug). I'll keep using WYSIWYG if I can't find another solution, but I prefer the customization options that this module provides.

Update: DrupalForFirebug issue: http://drupal.org/node/1199456

dczepierga’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Issue is not active over 3 month so i closed it.

If problem still exists pls update to last DEV version of CKEditor module, last CKEditor library and then try to reproduce this problem again. If it doesn't help pls report it and write as much details as u can.

Greetings