bergie / hallo

Simple rich text editor (contentEditable) for jQuery UI
http://hallojs.org/
MIT License
2.43k stars 318 forks source link

list buttons don't work in Firefox #224

Open JonathanReeve opened 10 years ago

JonathanReeve commented 10 years ago

The FF console error message is "NS_ERROR_FAILURE" in hallo.js:230. This is using Hallo 1.0.4. Lines 230-232 are:

if (document.execCommand(command, false, value)) {
    return this.element.trigger("change");
}
JonathanReeve commented 10 years ago

It turns out this might be a bug in Firefox. I should also note that this only happens if you try to make a list out all the lines in a contenteditable. If you select just a portion of the lines, it works fine.

SalahAdDin commented 9 years ago

Have the same problem: NS_ERROR_FAILURE

Gagaro commented 8 years ago

I have the same issue in my website, but the demo (http://hallojs.org/) does work in the same browser. Does anyone have any idea what could be wrong? I tried reproducing the environment to no avail.

SalahAdDin commented 8 years ago

:+1: