ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Rich Text Editor RTE bugs, issues, problems

May 17, 2012 10:46am

Subscribe [4]
  • #1 / May 17, 2012 10:46am

    neuralynx

    62 posts

    Is there a thread that consolidates all the problems encountered when trying to incorporate the RTE?  I personally did not have any problems getting it installed and working, but have run into many user-level problems for content editing.

    I’ll start my list, and maybe someone will either point me to a better place, or use this thread to list other issues I have not yet discovered.

  • #2 / May 17, 2012 11:03am

    neuralynx

    62 posts

    How to escape HTML code in RTE?

    The RTE rips out my escaped HTML.  For example, if I choose the “View Code” button, and then insert the code:

    Look for the & lt; a & gt; tag

    (without the space after the ampersand)
    the RTE converts my ampersand escape to ACTUAL lt and gt symbols, thereby destroying the intention of inserting < and > symbols without having them parsed as HTML.

    If I switch back to “View Content” mode, I might assume that typing an lt bracket such as < will ACTUALLY be escaped in the code, but even that is interpreted as HTML.

    I can’t figure out a way to display an HTML tag without it being parsed an interpreted as actual HTML.

  • #3 / May 17, 2012 11:15am

    neuralynx

    62 posts

    RTE inserts tags improperly

    Lots of examples of what would appear to be random insertion of tags, sometimes closing tags without an opening tag, etc all ever the place.

    For example, in “View Code” mode, if I type the line:

    This is a test
    

    it mangles that into:

    
    
    
    This is a test

    That is MOST DEFINITELY not what I asked for.  I can’t seem to recreate all these undesired behaviors (the apparent randomness), but the RTE has inserted a, br, and p tags in places where they are not correct, required, needed, or intended.

  • #4 / May 17, 2012 11:24am

    neuralynx

    62 posts

    RTE image insertion problems

    While in “View Content” mode, images are not inserted at the current cursor position.

    what I have experienced is that the cursor position is ignored, and the image is inserted at the top of the page.  When I look at the code in “View Code” mode, I see that often, the new figure tag is actually embedded in an existing figure!

    I can’t seem to get the RTE to insert a figure at a position I specify.

  • #5 / May 17, 2012 11:28am

    neuralynx

    62 posts

    RTE removing tags

    In “View Code” mode, tags I insert may be removed by the RTE parser.  For example, if I insert three line breaks, such as,

    
    
    
    

    while not elegant, it is semantically correct.  However, the RTE will completely remove such tags.  Sometimes it will actually wrap things in p tags, but I can’t seem to predict when it will and when it won’t do such things.

    If I put the editor into “View Code” mode, I should be able to create whatever semantically correct HTML I wish, without the fear of removal or mangling of my code by the editor.

  • #6 / May 17, 2012 1:18pm

    neuralynx

    62 posts

    RTE empty content inserts blank paragraph

    If an RTE Textarea block is left empty, the RTE will insert a blank block anyway.  This is particularly annoying when the template determines whether or not to display content based on an if block such as:

    {if content_name}{content_name}{/if}
  • #7 / May 18, 2012 4:22pm

    Shane Eckert

    7174 posts

    Hello neuralynx,

    Thank you for posting your feedback, we appreciate any opportunity to make our software better. I worked with one of our developers and we came up with some answers for you!

    How to escape HTML code in RTE?
    This is going to be a Feature Request. Would you mind filing that?

    RTE inserts tags improperly
    This has been noted and the Devs have this issue in their queue.

    RTE image insertion problems
    I am unable to reproduce this. How are you inserting an image when in “View Content” mode? Are you dragging the image into the box? That worked great for me. Image dropped right where the cursor was.

    RTE removing tags
    This seems buggy, so it has been filed as a bug

    RTE empty content inserts blank paragraph
    This has been filed as a bug. I thought I had seen this one filed already, but I guess not!

    Thanks again, and please let me know about the image item.

    Cheers,

  • #8 / Sep 12, 2012 6:56pm

    ferroconcrete

    3 posts

    Hi Shane

    I experienced the same bug with RTE image insertion, but strangely I noticed that it only happens for some image files.

    I tried to re-create the problem many times and this is what I did:
    I placed the cursor on the area where I want to upload the image, then click the image insertion icon, choose an image file from my desktop and upload, and the image is placed correctly where I want to.
    Then I put the cursor in different area, and click the insert image icon, and choose the same file that I just uploaded, this time the image will be placed on the top of the page.

    I did try to use different image file that I uploaded a while ago, but this time the image is correctly placed where my cursor located.

    I’ve attached my image file that I have problem with.

    Thanks

  • #9 / Sep 14, 2012 12:18pm

    Shane Eckert

    7174 posts

    Hello ferroconcrete,

    What version of ExpressionEngine are you currently running?

    Thank you,

  • #10 / Sep 14, 2012 1:28pm

    ferroconcrete

    3 posts

    I’m using v2.5.2

  • #11 / Sep 17, 2012 4:17pm

    ferroconcrete

    3 posts

    Hi Shane
    I noticed there is a new version that was released on Sept 11th. I’ve installed v2.5.3 and tested on the development server but the problem is still exist.
    Did you have a chance to test it?

    Thanks

  • #12 / Sep 17, 2012 4:52pm

    Shane Eckert

    7174 posts

    Hey ferroconcrete,

    I am not able to replicate this, and I have really tried!

    Please be on the lookout for an email from EllisLab.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases