Giter Site home page Giter Site logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Well, the only problem that is come into my head it's "bug" at 'editor_cmd' 
function.
Just remove 'console.log' from try/catch in that function. It's my fault, it's
firebug feature and i didn't remove it. Will fix in next patch/release. Try to
remove, probanly it will help.

Original comment by plandem on 6 Feb 2009 at 3:55

from lwrte.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
[deleted comment]

from lwrte.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
I have the same problem. I deleted the try and catch but i stil have the 
problem. I
load the page with a ajax script(Ajaxify jQuery plugin).
Is there a other way. Maybe if there is a script that switched fast between 
textarea
mode en design mode.

Original comment by [email protected] on 8 Feb 2009 at 10:28

from lwrte.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Same problem here.  I have content on a page that is being rendered via Ajax, 
part of
which contains the lwrte.  In Firefox (3.0.6 on Mac OS X) text inside lwrte 
appears
then disappears quickly, and no editing is possible.  The top panel of buttons 
seems
to be fully enabled though.  I have tried both 0.3 and 0.5, same problem.

Original comment by kevin%[email protected] on 20 Feb 2009 at 11:33

from lwrte.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
[deleted comment]

from lwrte.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
[deleted comment]

from lwrte.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
will try to reproduce bug.

Original comment by plandem on 5 Mar 2009 at 8:52

from lwrte.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Just as an update to this, my issue was resolved by initializing the RTE 
externally
*after* the AJAX content containing the RTE was rendered.  In other words, 
Firefox
wasn't happy when the RTE initialization logic was within the dynamic AJAX 
content,
so the calling page had to do the AJAX calls first and then subsequently set 
the RTE up.

That may actually be a logical approach, but, no other browsers behaved this 
way and
as such it was a really tough issue to track down and resolve.

Original comment by kevin%[email protected] on 5 Mar 2009 at 9:15

from lwrte.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
can you give a example files?

Original comment by plandem on 9 Mar 2009 at 2:57

from lwrte.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Basically the only fix I have found for this is to create the RTE control after 
its
containing element has already been rendered (ie made visible). 

This is my containing element, which is rendered as a dialog.
<div id="text-dialog" title="Text">
    <div id="textEditorFrm">     
    </div>
</div>

Every time a button is clicked to show the dialog above which would contain the 
rte,
i do this:

$('#text-dialog').dialog("open");
$('#textEditorFrm').html('<textarea id="textEditor"></textarea>');
$('#textEditor').rte({
                    css: ['default.css'],
                    width:485,
                    height:200,
                    controls_rte: rte_toolbar,
                    controls_html: html_toolbar
});

Original comment by [email protected] on 13 Jul 2009 at 1:53

from lwrte.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.