<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>95923</bug_id>
          
          <creation_ts>2004-12-28 14:07:07 +0000</creation_ts>
          <short_desc>run fckeditor with khtml</short_desc>
          <delta_ts>2024-05-06 20:51:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>khtml ecma</component>
          <version>unspecified</version>
          <rep_platform>Mandrake RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UNMAINTAINED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="CS">cedric</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          <cc>finex</cc>
    
    <cc>hwouters</cc>
    
    <cc>kdestuff</cc>
    
    <cc>mail</cc>
    
    <cc>mario_vazq</cc>
    
    <cc>sebastian_ml</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>166</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>297743</commentid>
    <comment_count>0</comment_count>
    <who name="CS">cedric</who>
    <bug_when>2004-12-28 14:07:07 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.3.2)
Installed from:    Mandrake RPMs
OS:                Linux

the fckeditor is not run with konqueror....
http://www.fckeditor.net/demo/default.html

the toolbar is not here...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>297786</commentid>
    <comment_count>1</comment_count>
    <who name="Pinaraf">pinaraf</who>
    <bug_when>2004-12-28 16:37:10 +0000</bug_when>
    <thetext>To be more precise : it seems that the rich text editing component is not implemented in KHTML, while it exists in Gecko, IE and Opera.
That component is really useful on webmails for instance.
Just see the result in Mozilla or Opera.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>351108</commentid>
    <comment_count>2</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2005-06-17 00:02:36 +0000</bug_when>
    <thetext>*** Bug 107564 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359403</commentid>
    <comment_count>3</comment_count>
    <who name="Andreas Braml">netzwerk</who>
    <bug_when>2005-07-21 15:55:01 +0000</bug_when>
    <thetext>To be even more precise: it seems to be an JS-related error, either in the
script or in the JS-implementation Konqueror uses. The error message is as 
follows:

Error: http://www.fckeditor.net/fckeditor/editor/js/fck_startup.js: TypeError - Value undefined (result of expression window.attachEvent) is not an object. Cannot be called.

Unfortunately, I&apos;m not the JS-guru to judge which of the two alternatives
mentioned applies :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359404</commentid>
    <comment_count>4</comment_count>
    <who name="Andreas Braml">netzwerk</who>
    <bug_when>2005-07-21 15:55:27 +0000</bug_when>
    <thetext>To be even more precise: it seems to be an JS-related error, either in the
script or in the JS-implementation Konqueror uses. The error message is as 
follows:

Error: http://www.fckeditor.net/fckeditor/editor/js/fck_startup.js: TypeError - Value undefined (result of expression window.attachEvent) is not an object. Cannot be called.

Unfortunately, I&apos;m not the JS-guru to judge which of the two alternatives
mentioned applies :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359408</commentid>
    <comment_count>5</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2005-07-21 16:18:28 +0000</bug_when>
    <thetext>IIRC, attachEvent is IE proprietary junk
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359411</commentid>
    <comment_count>6</comment_count>
    <who name="Allan Sandfeld">kde</who>
    <bug_when>2005-07-21 16:26:55 +0000</bug_when>
    <thetext>Any documentation of attachEvent?

Is it supported on other browsers that IE?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394518</commentid>
    <comment_count>7</comment_count>
    <who name="Mario A. Vazquez">mario_vazq</who>
    <bug_when>2005-12-01 16:21:18 +0000</bug_when>
    <thetext>I found this sample on the web at http://www.javascriptkit.com/javatutors/ns6update.shtml

-----
Last but no least, whenever possible, you should bind event handlers to the document by doing so inside your script and using the DOM. For example, instead of:
&lt;body onload=&quot;dothis()&quot;&gt;
you should instead do this:
&lt;script type=&quot;text/javascript&quot;&gt;
if (window.addEventListener) //DOM method for binding an event
window.addEventListener(&quot;load&quot;, dothis, false)
else if (window.attachEvent) //IE exclusive method for binding an event
window.attachEvent(&quot;onload&quot;, dothis)
else if (document.getElementById) //support older modern browsers
window.onload=dothis
&lt;/script&gt;

----

We could either contact the fckeditor author to check the code, or in someway implement the IE window.attachEvent with a redirection to the DOM window.addEventListener call.  Dunno the method used by Firefox, in fact, the control is displayed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394526</commentid>
    <comment_count>8</comment_count>
    <who name="Mario A. Vazquez">mario_vazq</who>
    <bug_when>2005-12-01 16:35:40 +0000</bug_when>
    <thetext>More info about the call here
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/attachevent.asp

Also after dealing with attachEvent, should also take a look to its brother detachEvent which probably is used too.
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/detachevent.asp</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402883</commentid>
    <comment_count>9</comment_count>
    <who name="Charles de Miramon">cmiramon</who>
    <bug_when>2006-01-01 14:40:35 +0000</bug_when>
    <thetext>There is a patch for Webkit :
http://bugzilla.opendarwin.org/show_bug.cgi?id=4403

I&apos;ve just tried FckEditor on my personal MoinMoin Wiki and it is very nice and something that we should support for Konqueror.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479748</commentid>
    <comment_count>10</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2006-10-25 17:55:46 +0000</bug_when>
    <thetext>*** Bug 136290 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>616719</commentid>
    <comment_count>11</comment_count>
    <who name="FiNeX">finex</who>
    <bug_when>2008-06-27 16:58:11 +0000</bug_when>
    <thetext>Please, vote for bug #48302 :-)

*** This bug has been marked as a duplicate of 48302 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>616761</commentid>
    <comment_count>12</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2008-06-27 18:38:01 +0000</bug_when>
    <thetext>Please don&apos;t dupe it --- it needs debugging separate from designMode/contentEditable proper.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1152769</commentid>
    <comment_count>13</comment_count>
    <who name="Morten Sjoegren">kdestuff</who>
    <bug_when>2011-08-11 18:02:41 +0000</bug_when>
    <thetext>Still an issue with KDE4.6.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2317594</commentid>
    <comment_count>14</comment_count>
    <who name="Christoph Cullmann">christoph</who>
    <bug_when>2024-05-06 20:51:17 +0000</bug_when>
    <thetext>Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>