#15 open
wooptoo

Replace on Toggle View still does not work as expected in Firefox

Reported by wooptoo | December 21st, 2009 @ 07:28 PM | in 0.5

Commit http://github.com/cheeaun/mooeditable/commit/51b4291afa09306b70bdc5... doesn't entirely fix the problem with Firefox. On Toggle View it should replace all and tags with and , but it doesn't if the text enclosed in the tags is on another line than the tags themselves.

How to reproduce:

Toggle to HTML code editing and write:

<p>
<b>
Text
</b>
</p>

Toggle to normal again, toggle to html code again.

Result:
The code stays the same, the tags aren't replaced with as expected.

This only happens in Firefox. In Chrome and Opera it works fine.

Comments and changes to this ticket

  • wooptoo

    wooptoo December 21st, 2009 @ 07:33 PM

    ugh, the bugtracker interpreted all my HTML tags, here is the intended text:

    Commit http://github.com/cheeaun/mooeditable/commit/51b4291afa09306b70bdc5... doesn't entirely fix the problem with Firefox. On Toggle View it should replace all <b> and <i> tags with <strong> and <em>, but it doesn't if the text enclosed in the tags is on another line than the tags themselves.

    How to reproduce:

    Toggle to HTML code editing and write:

    <p>
    <b>
    Text
    </b>
    </p>
    

    Toggle to normal again, toggle to html code again.

    Result:
    The code stays the same, the <b> tags aren't replaced with <strong> as expected.

    This only happens in Firefox. In Chrome and Opera it works fine.

  • Lim Chee Aun

    Lim Chee Aun February 12th, 2010 @ 12:36 AM

    • State changed from “new” to “open”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A simple web-based WYSIWYG editor, written in Mootools.

People watching this ticket

Tags

Pages