| Summary: | [sidebar] Key assist command doesn't work in editor | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Editor | Assignee: | Mark Macdonald <mamacdon> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.0 | ||
| Target Milestone: | 3.0 M2 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
As part of the sidebar navigation work, the edit page's editor-creation lifecycle was changed to support the "editorless editor page" use case. Initially, the page now creates an Editor with no TextView installed. This broke the part of globalCommands which adds the "key assist" action: > if (editor && editor.getTextView()) { > // add Key Assist action > } This code is now called before a TextView is created, so the key assist action is never registered.