| Summary: | Browser issues with embedding Orion v3.0 Editor in HTML source | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Jack Pizzolato <jppmail01> |
| Component: | Editor | Assignee: | Silenio Quarti <Silenio_Quarti> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | Silenio_Quarti |
| Version: | 3.0 | ||
| Target Milestone: | 5.0 M1 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Jack Pizzolato
Testing on XP and Windows 7 For problem 2), support for IE8 has been added to the stand alone editor in Orion 4.0. There still one remaining issue the affects the creation of multiple editors wrapping elements of a given className (which is used in blogs specially). The problem happens because document.getElementsByClassName() is not available in IE8. I have fixed this with: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=8a92f18247a7d7cf69a5537093ed7dfb0da130e8 Please try the latest build from: http://download.eclipse.org/orion/drops/I201311112230/index.html The blog posts in planetorion are using this build and working on IE8. For problem 1), the page scrolls to show the last editor when the editor DIV receives focus. There is no reasonable way to prevent this from happening on FF and IE. I have added a option (see commit [1]) to the editor (noFocus) that when set to true avoids setting the focus to the editor on creation. The flag is true by default when creating multiple editors. This should take care of blogs with multiple snippets of code. If your blogs have only one editor and you do not want the page to scroll to show that editor, set this option to true. [1] http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=74810f96430dac5fae22b8b45b62a924346f5f56 Please try the next build. |