Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

FireFox bug fixed #27

Open
wants to merge 165 commits into
base: master
Choose a base branch
from
Open

FireFox bug fixed #27

wants to merge 165 commits into from

Conversation

MarkNijhof
Copy link

In FireFox there is a bug that when you type and then click a button (like bold) that the use of the enter key while typing your text will active the button again instead of creating a newline. This fix will check for FireFox and if detected it will focus on the editor after the command is executed.

I tested this in FireFox (3.6.13), Safari (5.0.3) and Chrome (9.0.597.102 & 9.0.597.107 I got an update :)) I don't have IE nor other versions of the browsers. Also I was still unable to get the unit tests to run, so this is a very poor (but working) patch.

-Mark

David Badley and others added 30 commits June 23, 2009 11:44
…ors, backgrounds, and alignment. Added getStyle to iFrame.js to retrieve a style specified within the iFrame. Added an unattach method to the iFrame so you can remove the editor. Tested the above in editor_test.js.

Signed-off-by: Joshua Peek <[email protected]>
…tting Selection() methods, renamed past tests to Nested. The bug fix for firefox deals with backcolor and execCommand being handled differently in firefox than the other browsers (it uses hilitecolor). The bug fix for IE resolves an issue with losing its selection when clicking on the toolbar by saving its selection.

Signed-off-by: Joshua Peek <[email protected]>
Signed-off-by: Joshua Peek <[email protected]>
Signed-off-by: Joshua Peek <[email protected]>
Signed-off-by: Joshua Peek <[email protected]>
Signed-off-by: Joshua Peek <[email protected]>
josh and others added 30 commits May 24, 2010 21:40
…(like bold) that the use of the enter key while typing your text will active the button again instead of creating a newline. This fix will check for FireFox and if detected it will focus on the editor after the command is executed
…instead of manually parsing the userAgent myself
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants